This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 149699 [details] testng project with 1 test Attached is a sample project with one test file containing 2 tests. If you run the test file, the UI says no tests were executed but they actually were run from the output window: [TestNG] Running: Command line suite [VerboseTestNG] RUNNING: Suite: "Command line test" containing "2" Tests (config: null) [VerboseTestNG] INVOKING CONFIGURATION: "Command line test" - @BeforeClass Samples.setUpClass() [VerboseTestNG] PASSED CONFIGURATION: "Command line test" - @BeforeClass Samples.setUpClass() finished in 8 ms [VerboseTestNG] INVOKING CONFIGURATION: "Command line test" - @BeforeMethod Samples.setUpMethod() [VerboseTestNG] PASSED CONFIGURATION: "Command line test" - @BeforeMethod Samples.setUpMethod() finished in 1 ms [VerboseTestNG] INVOKING: "Command line test" - Samples.test() everyproblemincomputersciencecanbesolvedbyaddinganotherlevelofindirection[VerboseTestNG] PASSED: "Command line test" - Samples.test() finished in 43 ms [VerboseTestNG] INVOKING CONFIGURATION: "Command line test" - @AfterMethod Samples.tearDownMethod() [VerboseTestNG] PASSED CONFIGURATION: "Command line test" - @AfterMethod Samples.tearDownMethod() finished in 0 ms [VerboseTestNG] INVOKING CONFIGURATION: "Command line test" - @BeforeMethod Samples.setUpMethod() [VerboseTestNG] PASSED CONFIGURATION: "Command line test" - @BeforeMethod Samples.setUpMethod() finished in 1 ms [VerboseTestNG] INVOKING: "Command line test" - Samples.test01() every problem in computer science can be solved by adding another level of indirection [VerboseTestNG] PASSED: "Command line test" - Samples.test01() finished in 2 ms [VerboseTestNG] INVOKING CONFIGURATION: "Command line test" - @AfterMethod Samples.tearDownMethod() [VerboseTestNG] PASSED CONFIGURATION: "Command line test" - @AfterMethod Samples.tearDownMethod() finished in 1 ms [VerboseTestNG] INVOKING CONFIGURATION: "Command line test" - @AfterClass Samples.tearDownClass() [VerboseTestNG] PASSED CONFIGURATION: "Command line test" - @AfterClass Samples.tearDownClass() finished in 0 ms [VerboseTestNG] [VerboseTestNG] =============================================== [VerboseTestNG] Command line test [VerboseTestNG] Tests run: 2, Failures: 0, Skips: 0 [VerboseTestNG] =============================================== =============================================== Command line suite Total tests run: 2, Failures: 0, Skips: 0 ===============================================
Changeset: 89dfac716626 Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2015-09-14 15:17 Message:
Integrated into 'main-silver', will be available in build *201509150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/89dfac716626 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Task #247679 - TestNG UI says no tests were executed but really were