You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to set up a build that would run a single Java (JUnit) test. I've been able to set up a build that will run all tests from the current class (via Maven, in this case):
CLASSNAME=$(echo %f |sed 's|[\].java||'); mvn -Dtest=${CLASSNAME} test
(feedback on better approaches is welcome)
But there just aren't any string substitutions that will allow me to specify parts of a class.
Some options for how this could be achieved:
Provide a build placeholder representing the current text selection, eg %s
Allow more than one build entry to have the custom input dialog that "Make Custom Target..." gets. I already use that one to build arbitrary Maven targets, but it would be nice to have a second, more specialised one where I could just paste in a test name and run that.
Ideally, I'd love to have a placeholder that would substitute the current function name (determined in the same way as the Symbols sidebar), but that's probably more complicated.
The text was updated successfully, but these errors were encountered:
@ThrawnCA sorry for the delay responding, missed this issue.
Provide a build placeholder representing the current text selection, eg %s
Would be possible
Allow more than one build entry to have the custom input dialog that "Make Custom Target..." gets.
Allowing this was suggested when the current build system was in development and was vetoed as the system was already "too complex". Maybe it can be added now that everybody has gotten used to the system being "normal". Probably a few semantics to define first though.
Ideally, I'd love to have a placeholder that would substitute the current function name (determined in the same way as the Symbols sidebar), but that's probably more complicated.
Yes, because its filetype dependent, but maybe it could use the scope shown on the status bar (note that isn't foolproof though, and can be fully qualified, not just the function name).
I'd like to be able to set up a build that would run a single Java (JUnit) test. I've been able to set up a build that will run all tests from the current class (via Maven, in this case):
But there just aren't any string substitutions that will allow me to specify parts of a class.
Some options for how this could be achieved:
%s
The text was updated successfully, but these errors were encountered: