Storing regularly used Grails commands for later use in NetBeans?

I regularly use the right mouse button > "Run / Debug Grails Command ..." from within NetBeans.

When I do this, this is cumbersome b / c, I need to wait for "Reload Grails commands ...", then I need to select the command and manually enter all the parameters, for example. " unit:spock -coverage ExampleController".

I will have to compose commands every time I restart NetBeans.

  • Is there a better solution for this ?
  • In addition, every time I run a โ€œtest applicationโ€, Grails restarts โ€” is it possible to leave Grails and just run the tests with a click again and again and again ...?
+3
source share
1 answer

Thanks to the help of david, I can answer my question number 2:

When you right-click > "Run / Debug Grails ... Command" from within NetBeans, simply double-click "interactive" from the list.

Then, in the new shell, enter the test that you want to run without grails. For instance. onlytest-app unit:spock -coverage ExampleController

, , ENTER /.

, Grails . , , ..

, , , .

+2

Source: https://habr.com/ru/post/1785437/


All Articles