spring-projects / spring-projects/spring-security
IntelliJ built-in Gradle runner cannot run tests
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
When attempting to run tests on the 5.7.x branch using the built-in Gradle runner, the tests fail to compile and reporting missing classes in Saml2LoginConfigurerTests.
However, when configuring to run tests using the external Gradle tool, all tests compile and Saml2LoginConfigurerTests runs successfully.
Here is the failing configuration:

Here is the passing configuration:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure on the 5.7.x branch using IntelliJ's built-in Gradle runner, then compare it with the external Gradle tool configuration. Start with the missing-class errors from Saml2LoginConfigurerTests; done means the built-in runner compiles and runs that test successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100