title: TestNG configuration failure
body: <p>I am trying to run a simple TestNG test from the command line, it errors with a configuration failure. The same TestNG test will run from Eclipse IDE correctly. From command line it does not work. This is a severe limitation of this TestNG framework making it not very useable in a Continuous integration theme. If you plan on working with TestNG ensure you can get it running from the command line before committing to using it as your testing framework. Having to run it from Eclipse IDE is a severe limitation.</p>
  
  <pre><code>TestSuite_Bollosk
  Total tests run: 1, Failures: 0, Skips: 1
  Configuration Failures: 1, Skips: 1
  </code></pre>
  
  <p>command line syntax is:  </p>
  
  <pre><code>java -cp "C:\correctclpath1\*;C:\correctclpath2\*" org.testng.TestNG "C:\anotherpath\TS_simpletest.xml"
  </code></pre>
  
  <p>the test looks like this:</p>
  
  <pre><code>package pkgTSBollosk;
  
  import java.io.IOException;
  import java.util.concurrent.TimeUnit;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.testng.annotations.AfterMethod;
  import org.testng.annotations.BeforeTest;
  import org.testng.annotations.Parameters;
  import org.testng.annotations.Test;
  
  public class TC_Bollosk 
  {
  WebDriver driver;
  @Parameters({"param1","param2"})
  @Test
  public void bollosktestmethod(String param1, String param2) throws InterruptedException 
  {
      assert(true);
      System.out.println("test output for bollosk test:");
  }
  @BeforeTest
    public void beforeTest() throws IOException {
        driver = new FirefoxDriver(); 
        driver.manage().timeouts().implicitlyWait(2,TimeUnit.SECONDS);
            }
    @AfterMethod
    public void afterTest() {
        driver.quit();
        driver = null; 
    }
  }
  </code></pre>
  
  <p>the TS_simpletest.xml file looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;suite name="Bollosk Test Suit" parallel="false"&gt;
   &lt;test name="Bolluks test name"&gt;
    &lt;parameter name="Param1" value="not - used"&gt;&lt;/parameter&gt;
    &lt;parameter name="Param2" value="not - used"&gt;&lt;/parameter&gt;
      &lt;classes&gt;
        &lt;class name="pkgTSBollosk.TC_Bollosk"&gt;
        &lt;methods&gt;
        &lt;include name = "bollosktestmethod"&gt;&lt;/include&gt;
        &lt;/methods&gt;
        &lt;/class&gt;
      &lt;/classes&gt;
    &lt;/test&gt; 
  &lt;/suite&gt;
  </code></pre>