OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
13 stars 26 forks source link

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

Open JoshwinThomasIBM opened 1 month ago

JoshwinThomasIBM commented 1 month ago

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