My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 18: dependsOnMethods will throw exception if the depended method is not included in the test run
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by iTIPA2...@gmail.com, Nov 5, 2007
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.


Powered by Google Project Hosting