apache / apache/grails-intellij-plugin

Grails 3: Unit, integration and functional tests compiles to build/classes/test/ which causes problems when testing package

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

All tests (unit, integration and functional) from a Grails 3 project all compiles to `build/classes/test/` from Idea, but in Grails they compile to separate folders in `build/classes`.
This causes problems when running all tests in a package, because the runner mixes unit and integration tests.
Instead, integration/functional tests should compile to `build/classes/integration-test`

---

*Imported from [IDEA-151499](https://youtrack.jetbrains.com/issue/IDEA-151499) · Type: Bug · Votes: 5*
*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 tracing how Grails 3 tests are compiled into build/classes/test/ from IntelliJ IDEA, comparing that with Grails' separate build/classes locations. Verify unit, integration, and functional test outputs, then confirm that integration and functional classes are separated so package test runs no longer mix them.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.