Skip to content

Commit 529ea06

Browse files
jjohnstnmerks
authored andcommitted
N&N for quick-assist to disable/enable a JUnit test
- eclipse-jdt/eclipse.jdt.ui#2738
1 parent 6e6bd00 commit 529ea06

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
102 KB
Loading
108 KB
Loading

news/4.39/jdt.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,27 @@ will be converted to:
8989

9090
![Convert to record - after](images/convert-to-record-after.png)
9191

92+
### New Disable/Enable Test Quick-assist
93+
94+
<details>
95+
<summary>Contributors</summary>
96+
97+
- [Carsten Hammer](https://github.com/carstenartur)
98+
- [Github Copilot](https://github.com/apps/copilot-swe-agent)
99+
</details>
100+
101+
A new quick-assist has been added to disable or enable a JUnit test in the editor.
102+
To disable an active test, select within the JUnit test and perform `Ctrl-1` -> `Disable test with @Disabled`.
103+
To enable a disabled test, select within the JUnit test and perform `Ctrl-1` -> `Enable test (remove @Enabled)`
104+
105+
For example:
106+
107+
![Disable test - before](images/disable-test-before.png)
108+
109+
results in:
110+
111+
![Disable test - after](images/disable-test-after.png)
112+
92113
<!--
93114
---
94115
## Java Views and Dialogs

0 commit comments

Comments
 (0)