Suppose you have a new Main class, with 2 methods a and b
Pressing Control-Shift-T
allows us to create new test class and create stubs for both methods
Ok, now if i add 1 more method c
, i'd like to add a test for it in already existing MainTest class
How can this be done please using IDEA? Control-Shift-T
does not work as it attempts to create an already existing test class.
This feature has now been added. CTRL+SHIFT+T | Meta+Shift+T
in Idea 14.x you can press Alt+Enter
on method names,
if there are some missing tests, you can select option named "Generate missed test methods"
This feature is not implemented yet, please vote for the linked request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With