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

Counts for test classes are not updated upon deletion of test classes and Run tests again -for maven projects #1001

Open
JoshwinThomasIBM opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JoshwinThomasIBM
Copy link
Contributor

JoshwinThomasIBM commented Oct 3, 2024

Ran the tests by having 3 test classes and the unit test report generated is as below

image

Ran the Tests again after deleting one of the test classes and below is the unit test report generated

image

here the expected result was to get a report generated having the results only for the active number of test classes within the project ,instead the report is not updated and it retains the previous results for the deleted class

After initiating "mvn clean test" and running the tests again would generate accurate test reports by ignoring the deleted one's and will only consider the one's available within the project

One thought for resolving the issue can be by including "mvn clean test" along with the "Run tests" action

@JoshwinThomasIBM JoshwinThomasIBM added the bug Something isn't working label Oct 3, 2024
@JoshwinThomasIBM JoshwinThomasIBM changed the title Counts for test classes are not updated / refreshed upon deletion of test classes and initiate Run tests for maven projects Counts for test classes are not updated / refreshed upon deletion of test classes and Run tests again -for maven projects Oct 3, 2024
@JoshwinThomasIBM JoshwinThomasIBM changed the title Counts for test classes are not updated / refreshed upon deletion of test classes and Run tests again -for maven projects Counts for test classes are not updated upon deletion of test classes and Run tests again -for maven projects Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant