I´m using a ScalaTest plugin to execute some IT test. I need to skip all the test(Unit, IT
) in some pipelines, and they only use the flag ${skipTests}
so I need to use that flag for all my types of testing. In local sometimes I want just to execute, unit or IT test, but now having only one flag it´s not possible.
Only comment the line in the plugin of the IT it would works but I dont like this error prone aproach(Someone will commit the comment line for sure)
<skipTests>${skipTests}</skipTests>
I was thinking that it would be great if I can use some sort of OR
condition to set a new flag in my local executions as true and keep the other as false
<skipTests>${skipTests} || ${skipItTests}</skipTests>
Obviously this is not working, but I was wondering if someone know a way to do what I want.
Regards.