-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tests]: Increase PHPUnit coverage. #216
Labels
testing
Unit test suites and process
Comments
costdev
added
enhancement
New feature or request
needs triage
needs to be discussed and worked on
labels
Nov 30, 2024
costdev
added
testing
Unit test suites and process
and removed
enhancement
New feature or request
needs triage
needs to be discussed and worked on
labels
Nov 30, 2024
This was referenced Nov 30, 2024
This was referenced Dec 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a tracking issue for increasing PHPUnit test coverage of the codebase.
Below is an outline of each class, its assignee, its dependencies, and its methods.
Admin_Settings ✅
AdminSettings_UnitTestCase
. #212Click to view the methods
::__construct()
- See Add tests forAdmin_Settings::__construct()
#229::get_instance()
- See Add tests forAdmin_Settings::get_instance()
#230::get_default_settings()
- See Add more tests forAdmin_Settings::get_setting()
#234private
method.::get_setting()
tests.::reset_settings()
- See Add tests forAdmin_Settings::reset_settings()
#231::delete_all_settings()
- See Add tests forAdmin_Settings::delete_all_settings()
#232::admin_notices()
- See Add tests forAdmin_Settings::admin_notices()
#233::get_setting()
- See Add more tests forAdmin_Settings::get_setting()
#234::get_settings_from_config_file()
- See Add more tests forAdmin_Settings::get_setting()
#234private
method.::get_setting()
tests.::update_settings()
- See Add tests forAdmin_Settings::update_settings()
#235::register_admin_menu()
- See Add tests forAdmin_Settings::register_admin_menu()
#236::admin_enqueue_scripts()
- See Add tests forAdmin_Settings::admin_enqueue_scripts()
#237::the_settings_page()
- See Add tests forAdmin_Settings::the_settings_page()
#238::register_settings()
- See Add tests forAdmin_Settings::register_settings()
#241::add_settings_field_callback()
- See Code Coverage: IgnoreAdmin_Settings::add_settings_field_callback()
#251::sanitize_settings()
- See Add tests forAdmin_Settings::sanitize_settings()
#239API_Rewrite ✅
Click to view the methods
::__construct()
- See Add tests forAPI_Rewrite::__construct()
#217::pre_http_request()
- See Add tests forAPI_Rewrite::pre_http_request()
#218AspireCloud_API
Branding ✅
Click to view the methods
::__construct()
::get_instance()
::admin_enqueue_scripts()
::output_admin_notice()
Controller ✅
Click to view the methods
::__construct()
- See Add tests forController::__construct()
#219::api_rewrite()
- See Add tests forController::__construct()
#219private
method.::clear_log()
- See Add tests forController::__construct()
#219wp_send_json_success|error()
, which calldie()
internally.::read_log()
- See Add tests forController::__construct()
#219wp_send_json_success|error()
, which calldie()
internally.Debug ✅
Click to view the methods
::get_file_path()
private
method.::read()
,::clear()
or::log()
tests.Debug::read()
#245Debug::clear()
#246Debug::log()
#247::init_filesystem()
private
method.::read()
,::clear()
or::log()
tests.Debug::read()
#245Debug::clear()
#246Debug::log()
#247::verify_filesystem()
private
method.::read()
,::clear()
or::log()
tests.Debug::read()
#245Debug::clear()
#246Debug::log()
#247::read()
- See Add tests forDebug::read()
#245::clear()
- See Add tests forDebug::clear()
#246::log()
- See Add tests forDebug::log()
#247::format_message()
- See Add tests forDebug::log()
#247private
method.::log()
tests.::log_string()
- See Add tests forDebug::log_string()
#248::log_request()
- See Add tests forDebug::log_request()
#249::log_response()
- See Add tests forDebug::log_response()
#250Plugins_Screens ✅
Click to view the methods
::__construct()
- See Add tests forPlugins_Screens::__construct()
#220::get_instance()
- See Add tests forPlugins_Screens::get_instance()
#221::remove_unused_filter_tabs()
- See Add tests forPlugins_Screens::remove_unused_filter_tabs()
#222Themes_Screens ✅
Click to view the methods
::__construct()
- See Add tests forThemes_Screens::__construct()
#223::get_instance()
- See Add tests forThemes_Screens::get_instance()
#224::admin_enqueue_scripts()
- See Add tests forThemes_Screens::admin_enqueue_scripts()
#225::redirect_to_theme_install()
- See Add tests forThemes_Screens::redirect_to_theme_install()
#226Utilities ✅
Utilities::get_top_level_domain()
only works for single-part TLDs. #194Click to view the methods
::get_site_domain()
- See Add tests forUtilities::get_site_domain()
. #228::get_top_level_domain()
.Utilities::get_top_level_domain()
only works for single-part TLDs. #194.::include_file()
- See Add tests forUtilities::include_file()
#227The text was updated successfully, but these errors were encountered: