title: How should I pass 2 test groups to karate: 1 ignore group and 1 include group
body: <p>Here is my scenario.</p>
  <p>I setup a Karate Java runner test method like this:</p>
  <pre><code>Results results = Runner.path(&quot;classpath:features&quot;)
      .outputCucumberJson(true)
      .tags(GLOBAL_INCLUDE, GLOBAL_IGNORE_ALL)
      .parallel(5);
  </code></pre>
  <p>And I setup variables for test groups like so:</p>
  <pre><code>static final String REGRESSION_TAG = &quot;regression&quot;;
  static final String GLOBAL_IGNORE_ALL = &quot;~@ignore&quot;;
  static final String GLOBAL_INCLUDE = &quot;@&quot; + System.getProperty(&quot;test.type&quot;, REGRESSION_TAG).toLowerCase();
  </code></pre>
  <p>But the above configuration FAILS to ignore the <code>@ignore</code> tags.</p>
  <p>The only way I could get it to work was by adding the deprecated test runner annotation like so:</p>
  <pre><code>@KarateOptions(tags = {&quot;~@ignore&quot;} )
  public class RunIT {
  ...
  Results results = Runner.path(&quot;classpath:features&quot;)
      .outputCucumberJson(true)
      .tags(GLOBAL_INCLUDE)
      .parallel(5);
  ...
  </code></pre>
  <p>Anyone have any idea what I am doing wrong?   Just trying to pass 2 tags in a AND-condition style:    all the regression tests minus the ignore tests.</p>
  <p>Version: Karate 1.0.1</p>