Ran the tests by having 3 test classes and the unit test report generated is as below
Ran the Tests again after deleting one of the test classes and below is the unit test report generated
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
Ran the tests by having 3 test classes and the unit test report generated is as below
Ran the Tests again after deleting one of the test classes and below is the unit test report generated
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