How to create unit tests for all methods with a single shortcut?
已回答
Hi,
After pressing ALT + ENTER, a window is shown where I can select individual methods for which I want to create unit tests. But how do I create a test method for all of them with a single click/shortcut?
请先登录再写评论。
Hello,
Have you tried to press Alt+Enter on class name and select "Create Test"?
Hi,
Yes of course. I have done that and I can select the methods I want to create tests for. But I have to select them one at a time....How can I select them all?
You could select any method, press "Ctrl+A" to select all of them and then press spacebar to check them all.
Wow, thank you. I didn't think it was sooo easy.