apache / apache/grails-intellij-plugin

Default Grails Integration tests to run test-app (and not JUnit)

Open
#74 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

For Grails applications, one should not have to select whether they wish to run an integration test as a Grails or JUnit test, but should instead be defaulted to Grails - as most integration tests - if designed properly - will not run using JUnit. This can be a source of unnecessary confusion.

I could see the argument for allowing this default to be overrided, but from a convention over configuration perspective, this seems to be a sensible default.

---

*Imported from [IDEA-64167](https://youtrack.jetbrains.com/issue/IDEA-64167) · Type: Bug · Votes: 1*
*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 locating the Grails integration-test run configuration and the code that chooses between test-app and JUnit. Reproduce the current selection behavior with a Grails integration test, then verify that test-app is the default while the requested behavior remains testable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.