Skip to content
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

Closed
44 tasks done
costdev opened this issue Nov 30, 2024 · 1 comment
Closed
44 tasks done

[Tests]: Increase PHPUnit coverage. #216

costdev opened this issue Nov 30, 2024 · 1 comment
Assignees
Labels
testing Unit test suites and process

Comments

@costdev
Copy link
Contributor

costdev commented Nov 30, 2024

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 ✅

Click to view the methods


API_Rewrite ✅

Click to view the methods


AspireCloud_API

  • Not implemented at this time.
  • No PHPUnit tests needed.

Branding ✅

  • Already covered.

Click to view the methods

  • ::__construct()
  • ::get_instance()
  • ::admin_enqueue_scripts()
  • ::output_admin_notice()

Controller ✅

Click to view the methods


Debug ✅

  • Assigned to @costdev
  • Want to handle this one? Drop a comment on this issue!

Click to view the methods


Plugins_Screens ✅

Click to view the methods


Themes_Screens ✅

Click to view the methods


Utilities ✅

Click to view the methods

@costdev costdev added enhancement New feature or request needs triage needs to be discussed and worked on labels Nov 30, 2024
@costdev costdev self-assigned this Nov 30, 2024
@costdev 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
@costdev
Copy link
Contributor Author

costdev commented Dec 19, 2024

Line and branch coverage of the codebase at the time of writing is now at 100%.

Here's a merged single-site and multisite coverage report showing line coverage. Merging coverage reports doesn't support branch coverage unfortunately.

image

Closing out this issue.

@costdev costdev closed this as completed Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Unit test suites and process
Projects
None yet
Development

No branches or pull requests

1 participant