-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Feature for filtering test scenarios with specific flags, in the following example if -DfilterTests=regression,ui
only the third and fifth scenarios are performed.
<html>
<body>
TEST: ${System.currentTimeMillis()}
<h2>
VAR: ${System.getProperty("filterTests")}
</h2>
<div class="scenario" pending="true">
<h1 class="title">Scenario pending</h1>
TEST:${System.currentTimeMillis()}
</div>
<div class="scenario" ignore="true">
<h1 class="title">Scenario ignored</h1>
TEST:${System.currentTimeMillis()}
</div>
<div class="scenario regression" >
<h1 class="title">Scenario with style 'regression' and command with -DfilterTests=regression</h1>
TEST:${System.currentTimeMillis()}
</div>
<div class="scenario">
<h1 class="title">Scenario common, if '-DfilterTests' is not set, this scenario will be executed normally.</h1>
TEST:${System.currentTimeMillis()}
</div>
<div class="scenario ui" >
<h1 class="title">Scenario with style 'ui' and command with -DfilterTests=ui</h1>
TEST:${System.currentTimeMillis()}
</div>
</body>
</html>