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.
When running tests from a NetBeans suite, project tests are run more than once. To reproduce: 1. Create a new NetBeans Platform Application project. 2. Create two new modules. 3. In each module, create a new TestNG Test Case. 4. In one of the modules, create a test method called testA in the test class. @Test public void testA() { assertTrue(true); } 5. In the other module, create two similar test methods called testB and testC. 6. Right-click the suite and select Test. Three tests should be run: in no particular order, testA, testB, testC. However, depending on which modules the tests are in, either four or five tests are run. Cut testC from its test class and paste it in the same class as testA to see the alternative. It appears that when a module's tests are run, the tests of previously tested modules are also run for each successive module.
Fixed: http://hg.netbeans.org/core-main/rev/91bb5934410c
Integrated into 'main-golden', will be available in build *201209050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/91bb5934410c User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #217294 - Module tests are run multiple times when a suite is tested