What steps will reproduce the problem?
1. method A declared to be in group A1
2. method B declared to be in group B1 and dependsOnMethods={"A"}
3. create and run a test with only group "B1".
What is the expected output? What do you see instead?
TestNG should catch the runtime exception and report that method "A" is
not found in the test e.g. "omitted in test setup". Exception is thrown,
the test is not run and not reported in the result as skipped.
What version of the product are you using? On what operating system?
TestNG 5.7.0.0, Eclipse 3.2.2, and Windows XP.