Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.16
-
None
-
None
-
Mac 10.8.5, Maven 3.1.0, Java version: 1.7.0_09
Description
1. In Intellij right-click run-test executes the test method immediately after the setup method (marked @BeforeMethod).
2. Running on the command line (mvn) the same two methods are executed.
3. After making a group, and putting the group in a profile (as per http://stackoverflow.com/questions/7150302/excluding-testng-groups-from-maven) the test method is invoked, but the @BeforeMethod method was not invoked before it.
I was going to debug it, so that I could tell you root cause defect, but IDEA conspires to now show me all the breakpoints of the plugin before the actual test invocation.