Have you considered an option to use the name of the test as the commit message in TCR mode? It would probably exceed the commit summary length, but it would be more informative than any other option.
For example
if I run ...
...then the commit message is
displaysTheCurrentTime in the class NiftyWidgetTest
"NiftyWidgetTest.displaysTheCurrentTime"
NiftyWidgetTest
"NiftyWidgetTest"
all the tests in the package com.nifty.widgets
"Tests in 'com.nifty.widgets'"
That last one is not a great commit message, but it's not worse than "wip" or repeating the last commit.
I don't know what it would take to make that work, I haven't taken a close look at the code for the plugin (and haven't written an intellij plugin before).
It sounds like a good idea to me 👍
Shouldn't be too hard to implement but can't promise I'll do it very soon as I'm working on other things at the moment.
Hi Dmitry,
Thanks for this plugin!
Have you considered an option to use the name of the test as the commit message in TCR mode? It would probably exceed the commit summary length, but it would be more informative than any other option.
For example
displaysTheCurrentTime
in the classNiftyWidgetTest
NiftyWidgetTest
com.nifty.widgets
That last one is not a great commit message, but it's not worse than "wip" or repeating the last commit.
I don't know what it would take to make that work, I haven't taken a close look at the code for the plugin (and haven't written an intellij plugin before).
Cheers! Alex