Open ericglau opened 3 years ago
The issue also occurs if starting with <skipTests>true</skipTests>
in the maven-failsafe-plugin
configuration in the war
project's pom.xml
. But if starting with false
, then it can be toggled to true
and false
properly.
Using project https://github.com/turkeylurkey/lmp-multimodules/tree/main/testCases/typeB (tested on Windows)
Define
<skipTests>true</skipTests>
in the<properties>
section ofwar/pom.xml
Start dev mode in multi module project, then press Enter to run tests - notice UTs and ITs are skipped:Then change that flag to
<skipTests>false</skipTests>
or delete it fromwar/pom.xml
. The following output occurs:Then Press Enter to run tests again. Tests remain skipped (even though they should not skip)
The same issue occurs for all of the different flags:
skipTests
,skipITs
,skipUTs
- they do not update if the user deleted/changed the flag tofalse
if dev mode was started withtrue