apache / apache/grails-intellij-plugin

Can no longer run tests for just one module or method within module

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

Support feedback:

I can no longer run tests for just a module or just a method within a module. Instead it runs all tests in the namespace. This appears to have started with the 2019.2.2 version. Worked fine before. I'm running using the context menu. I've tried removing the .idea directly entirely but it stills runs all test.

- using `intellij-command-proxy test-app . -integration` it runs all tests in ``
- running just `grails with grails test-app . -integration` it runs just that spec but of course outside of IntelliJ

Very frustrating and a huge loss of productivity!

---

*Imported from [IDEA-225319](https://youtrack.jetbrains.com/issue/IDEA-225319) · Type: Bug · 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

Start by reproducing the context-menu run for a module and method, then compare it with `intellij-command-proxy test-app . -integration` and `grails with grails test-app . -integration`. Trace the IntelliJ plugin's context-menu test entry point and identify why the package namespace is passed instead of the selected target; done when module- and method-scoped runs match the direct Grails command.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.