History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-19918
Type: New Feature New Feature
Status: Open Open
Assignee: Anna Kozlova
Reporter: Alexey Kusak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Automatically include methods specified in dependsOnMethods annotation into test suite

Created: 04 Oct 08 23:48   Updated: 06 Oct 08 14:13
Component/s: Unit Testing. TestNG

Environment: Windows Vista

Build: 7,941


 Description  « Hide
Suppose I have the following test:

public class TestCase {

@Test
public void test1() {
}

@Test(dependsOnMethods = "test1")
public void test2() {
}

}

If I run test2 in IDEA then I get the following error: org.testng.TestNGException: TestCase.test2() is depending on nonexistent method TestCase.test1

I noticed that IDEA automatically add dependencies for groups so I think it should do the same for method dependencies.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.