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 I'm working on a NB Module project, after I run tests, the re-run tests button on the tests results panel stays disabled.
I'm testing this on Windows 7 and is working perfectly normal. I could be only on Linux (Ubuntu)
are the projects on win and linux exactly the same? Are they using the same build system and junit version? after creating a module in ant suite and generating some tests (junit 4.x) I don't see the buttons enabled on windows 7
I have been testing in Windows with both JUnit 3 and 4 versions. The bug is also there. In Linux I have only tested with JUnit 3.
*** Bug 199967 has been marked as a duplicate of this bug. ***
Retested on both Linux and Windows and it works properly. Both JUnit 3 and 4. Closing as WORKSFORME You can try newer version of NetBeans. If this problem will still appear, reopen this issue but at least upload IDE log (http://wiki.netbeans.org/FaqLogMessagesFile). Thanks
Still reproducible for me, with the latest devu build. Steps: - open a NB module - run its unit tests, some of them must fail -> result: Rerun button is disabled Attaching screenshot. Thanks. Product Version: NetBeans IDE Dev (Build 20121203-37a04330d174) Updates: NetBeans IDE is updated to version , NetBeans 7.3 Beta 2 Java: 1.6.0_37; Java HotSpot(TM) 64-Bit Server VM 20.12-b01 Runtime: Java(TM) SE Runtime Environment 1.6.0_37-b06 System: Linux version 3.5.0-19-generic running on amd64; UTF-8; cs_CZ (nb)
Created attachment 128761 [details] screenshot
1) org.netbeans.modules.apisupport.project.ui.ModuleActions needs to be tweaked and the javac.includes property has to be set in setupTestSingle(...) and probably others: > p.setProperty("test.includes", testSources.includes().replace("**", "**/*Test.java")); // NOI18N 2) there are more problems with re-run failed in junit itself. Passing to fanis, please can you take a look at it?
Any update on this?
(In reply to Jiri Kovalsky from comment #9) > Any update on this? I will try to have a fix for 7.4 time frame
Fixed: http://hg.netbeans.org/core-main/rev/3e2f0e1c1042
Integrated into 'main-silver', will be available in build *201308212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3e2f0e1c1042 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: #214246 - Tests cannot be re-run in NM Modules