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

Testing: basic coverage support #2369

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

worksofliam
Copy link
Contributor

@worksofliam worksofliam commented Nov 26, 2024

Adds ability to capture how many times functions or instance methods were called in an object or class, allowing us to get coverage information for our test suite.

The 'Test Cases' UI now has two groups:

  • Test Suites which contains the nodes that was what the original Test Cases UI had, and
  • Coverage which shows a list of registered classes or objects inside of it, and when they are expanded, shows the method or function name with a count of how many times it has been called. Additionally, each class or object shows the percentage of methods/functions that have been covered inside of it.
image

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam changed the title Feature/basic_test_coverage Testing: basic coverage support Nov 26, 2024
Copy link
Contributor

github-actions bot commented Nov 26, 2024

👋 A new build is available for this PR based on 6f1b967.

@worksofliam worksofliam changed the base branch from fix/encodingissuewith284 to master November 26, 2024 17:25
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam marked this pull request as ready for review November 27, 2024 03:13
@worksofliam
Copy link
Contributor Author

worksofliam commented Nov 30, 2024

New build now includes the ability to see where methods are used!

image

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam
Copy link
Contributor Author

Now shows the test case status on the method/function!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant