Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I ended up creating external test suits:</p> <pre><code>&lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" &gt; &lt;suite name="tests"&gt; &lt;test name="standard"&gt; &lt;groups&gt; &lt;run&gt; &lt;exclude name="slow" /&gt; &lt;exclude name="external" /&gt; &lt;exclude name="db" /&gt; &lt;/run&gt; &lt;/groups&gt; &lt;packages&gt; &lt;package name="com.test.*" /&gt; &lt;/packages&gt; &lt;/test&gt; &lt;/suite&gt; </code></pre> <p>and</p> <pre><code>&lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" &gt; &lt;suite name="tests"&gt; &lt;test name="full"&gt; &lt;packages&gt; &lt;package name="com.test.*" /&gt; &lt;/packages&gt; &lt;/test&gt; &lt;/suite&gt; </code></pre> <p>and specifyied which to run in a profile:</p> <pre><code>&lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt; &lt;version&gt;2.11&lt;/version&gt; &lt;configuration&gt; &lt;suiteXmlFiles&gt; &lt;suiteXmlFile&gt;src/test/resources/suites/standard.xml&lt;/suiteXmlFile&gt; &lt;/suiteXmlFiles&gt; &lt;/configuration&gt; &lt;/plugin&gt; </code></pre> <p>...</p> <pre><code>&lt;profile&gt; &lt;id&gt;fulltest&lt;/id&gt; &lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt; &lt;configuration&gt; &lt;suiteXmlFiles&gt; &lt;suiteXmlFile&gt;src/test/resources/suites/full.xml&lt;/suiteXmlFile&gt; &lt;/suiteXmlFiles&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;/profile&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload