title: TestNG test passes, but fails when run via Ant even though build succeeds
body: <p>I have a TestNG test that works as expected when run as TestNG Suite in Eclipse, but fails when run via TestNG Ant Task (also via Eclipse).  The same test also fails when I run Ant via the command line. The build succeeds, but the test fails with the message:</p>
  
  <p>org.testng.TestNGException: 
  Parameter &apos;homepage.title&apos; is required by @Test on method login but has not been marked @Optional or defined</p>
  
  <p>The parameter is defined correctly in my TestNG.xml, and as I mentioned, the same test passes if I run via "Run as TestNG Suite"</p>
  
  <p>Thanks in advance!  I hope to be able to help others out as well!</p>