You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 18:06:50 UTC
[I] Can not run testcase with Grails if testcase is in abstract test-class [grails-intellij-plugin]
jdaugherty opened a new issue, #131:
URL: https://github.com/apache/grails-intellij-plugin/issues/131
Given this hierarchy of test classes:
```
class FileSystemLinuxTests extends AbstractTests
class FileSystemWindowsTests extends AbstractTests
```
I have all test-cases in `AbstractTests` and in subclasses I just instantiate the "filesystem" under test.
**Expected**:
I am able to start a test from within the `AbstractTests` class.
**Actual**:
- If I go to `AbstractTests` and press `Ctrl+Shift+F10` inside a test method, I get the options to start the JUnit tests for one of the sub-classes. No option to use Grails runner.
- If I go to `AbstractTests` and press `Ctrl+Shift+F10` outside the test method, I get the options to start the tests using Grails, but it fails because IDEA doesn't notice this is an abstract class.
---
*Imported from [IDEA-109802](https://youtrack.jetbrains.com/issue/IDEA-109802) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org