Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329605

Summary: To Java Editor Save Actions, Add Option to Run All JUnit Tests In Project
Product: [Eclipse Project] JDT Reporter: Bruce Coleman <brucecoleman+bugs.eclipse>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, marcel.mann, markus.kell.r, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Bruce Coleman CLA 2010-11-05 23:22:12 EDT
Build Identifier: N/A

To the Java Editor Save Actions configuration screen, add an option to run all JUnit tests in the project on save.

The implementation may be to simply invoke the same action(s) performed when users press Alt+Shift+X,T while the project is selected in the Package Explorer or Project Explorer.

This enhancement request differs from Bug 51292 - Continuous testing (https://bugs.eclipse.org/bugs/show_bug.cgi?id=51292) as the scope of this proposed change is significantly smaller.

Reproducible: Always

Steps to Reproduce:
1. N/A
2.
3.
Comment 1 Dani Megert CLA 2010-11-08 03:45:21 EST
So, it would happen each time I save a TEST? I'm not sure this is too useful and you might quickly end up with tons of tests running in parallel.

Given there is an extension point you could implement this for yourself outside the SDK.
Comment 2 Markus Keller CLA 2010-11-29 12:05:36 EST
We have no plans to implement this in Eclipse.
Comment 3 Dani Megert CLA 2016-12-22 09:32:27 EST
*** Bug 509238 has been marked as a duplicate of this bug. ***