In J2SE project there is a possibility to invoke "Run Again" or "Debug" on a single test method after running JUnit
tests (in Test Results window, right-clicking on a node representing test method).
However, this is not supported in Web Application (there is only "Go to Source" option)
I consulted this with guys from JUnit team and according to them, these actions are enabled if the project provides such
actions (run.single.method, debug.single.method) through ActionProvider implementation from the project's lookup.
Is there a chance to provide this in WebApplication action provider?
This would be really helpful if you could right click on a test method in the source editor and run that method. Having
to run the entire test file to be able to run one test method again is to time consuming
It is absolutely necessary for test driven development with junit! I can't imagine that anybody is running always all tests into a test class just to rerun a single test method. The fix should be done as soon as possible. Is NetBeans really a professional development ide or is it just a student's playground?
I agree with changing from enhancement to defect (inconsistency is a usability bug), but P1 is not appropriate per the bug priority guidelines:
*** Bug 153558 has been marked as a duplicate of this bug. ***
I'm requesting waiver. The fix will not be ready in time - I tried to sync handling of java specific targets in EE project types with J2SE project but there is simply too many differences. I would want to fix this by refactoring shared code into a common module so that it is maintained in one place for all project types. Alternative of keeping 3 project types in synch with J2SE project just does not work. Changes will be large rather then small and I would not recommend it for inclusion in 69 even if it was finished in time - there will be a risk of short term regression(s).
Implementation in EE project types was synchronized with J2SE project.
Integrated into 'main-golden', will be available in build *201006030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: David Konecny <email@example.com>
Log: Bug #171153 - Support for running/debugging single test methods