title: Running single TestNG test with dependency in eclipse
body: <p>I have few tests in a class that are dependent on setup group from another package.
  My TestNG.xml looks like this:</p>
  
  <pre><code>&lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" &gt;
  &lt;suite name="mysuite" verbose="1"&gt;
  &lt;test name="mytest"&gt;
      &lt;classes&gt;
      &lt;class name="path.to.setup.class"/&gt;
      &lt;class name="path.to.test.class"/&gt;
  &lt;/classes&gt;
  &lt;/test&gt;
  &lt;/suite&gt;
  </code></pre>
  
  <p>This is working fine when running all tests in eclipse.</p>
  
  <p>the problem is when I try to execute a single test from testClass, that is dependent on setup group.
  I get the following error: DependencyMap::Method "myMethod" depends on nonexistent group "setup".
  Is there any easy way to execute a single test without creating a separate xml for each test?</p>