Problem: failed to create task or type testng. Cause: The name is undefined-Record and share programming errors
i´ve got a little problem to run a testng test. I invoke the test with a ant task which returns following error message:
BUILD FAILED /**/build.xml:136: Problem: failed to create task or type testng Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
The ant task looks like this:
This is the test class:
package **.pseudotest;
import org.apache.log4j.Logger;
import org.testng.annotations.Test;public class PseudoTest {
@Test(groups = { “pseudoTest” }) public void aSingleTest() { assert false : “The simple test failed and does not return true”; }
}
Can somebody help me to solve this problem?
Thanks
BVA
Originally posted 2013-08-31 06:03:35.