apache / apache/grails-intellij-plugin
Always allow to run whole Spock Grails integration spec
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
In a unit Spock spec (inside a Grails project), when I'm inside a test method, I can run the method standalone or the complete spec (containing that method). Through running I mean executing a spec via `grails test-app` command.
However, in a Grails Spock integration spec:
- when I'm inside a test method, in the Run..., only the test method is displayed. Not the spec.
- I have to go outside the test method, and then the complete spec is displayed in the dialog.
Note that there is impossible (AFAIK) to run a single test method via grails test-app command. If you display the method as available to be executed through `grails test-app` command is confusing.
---
*Imported from [IDEA-110899](https://youtrack.jetbrains.com/issue/IDEA-110899) · Type: Usability Problem · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the behavior from a Grails Spock integration spec by opening Run... inside a test method and comparing it with a unit Spock spec. Trace how the IntelliJ Run... options map to the grails test-app command; done means the complete integration spec is offered and the unavailable single-method action is not shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- developer-experience, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100