title: Can you create multiple tests with the testng factory?
body: <p>Creating one test consisting of differenct test classes with different test methods is easy with the testng factory.</p>
  
  <p>What I now want to do is creating multiple tests with the same test classes to run in parallel.</p>
  
  <p>It would look like this if I would be doing it without factory:</p>
  
  <pre><code>&lt;test name="testcombo1"&gt;
      &lt;classes&gt;
          &lt;class name="test1" /&gt;
          &lt;class name="test2" /&gt;
          &lt;class name="test3" /&gt;
      &lt;/classes&gt;
  &lt;/test&gt;
  
  &lt;test name="testcombo2"&gt;
      &lt;classes&gt;
          &lt;class name="test1" /&gt;
          &lt;class name="test2" /&gt;
          &lt;class name="test3" /&gt;
      &lt;/classes&gt;
  &lt;/test&gt;
  
  &lt;test name="testcombo3"&gt;
      &lt;classes&gt;
          &lt;class name="test1" /&gt;
          &lt;class name="test2" /&gt;
          &lt;class name="test3" /&gt;
      &lt;/classes&gt;
  &lt;/test&gt;
  </code></pre>
  
  <p>Of course it is more than 3 tests and each testcombo has different parameters. Those testcombos shall run in parallel not the classes or the methods. 
  Is this possible using the testng factory? If not I am open for suggestions. If my question is not clear please ask.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Suite created with XML Suite:</p>
  
  <pre><code>&lt;suite thread-count="15" name="TmpSuite" parallel="tests"&gt;
    &lt;!-- List of parameters for grid --&gt;
    &lt;listeners&gt;
    &lt;!-- some listeners --&gt;
    &lt;/listeners&gt;
    &lt;test name="Accept2"&gt;
      &lt;parameter name="number" value="2"/&gt;
      &lt;classes&gt;
        &lt;class name="com.Factory"/&gt;
      &lt;/classes&gt;
    &lt;/test&gt; &lt;!-- Accept2 --&gt;
    &lt;test name="Accept3"&gt;
      &lt;parameter name="number" value="3"/&gt;
      &lt;classes&gt;
       &lt;class name="com.Factory"/&gt;
      &lt;/classes&gt;
    &lt;/test&gt; &lt;!-- Accept3 --&gt;
    &lt;test name="Accept4"&gt;
      &lt;parameter name="number" value="4"/&gt;
      &lt;classes&gt;
        &lt;class name="com.Factory"/&gt;
      &lt;/classes&gt;
    &lt;/test&gt; &lt;!-- Accept4 --&gt;
  &lt;/suite&gt;
  </code></pre>