Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How it should be configured with jvm-test-suite #256

Open
marcindabrowski opened this issue Oct 20, 2023 · 1 comment
Open

How it should be configured with jvm-test-suite #256

marcindabrowski opened this issue Oct 20, 2023 · 1 comment

Comments

@marcindabrowski
Copy link

marcindabrowski commented Oct 20, 2023

In Gradle we have The JVM Test Suite Plugin.
It enables me to create multiple test folders - for example except the standard src/test/groovy test directory, I also have src/integrationTest/groovy.
I'm also using The Test Report Aggregation Plugin.

The problem is that spock-reports do not create the report with integration tests when run on clean repo.
When there was previous run of the tests, there will be present in the report. But the point is to have it done also on clean repos.

Do you know how I could configure it, to run properly?

I should to add that integration test are run after unit tests.
I'm using 2.5.1-groovy-4.0 version.

@renatoathaydes
Copy link
Owner

Spock reports is a Spock plugin, so if Spock runs a test, then Spock-reports should be called by Spock.
I don't know why it would be creating reports only when it's not a clean repository.
Do you get the default Gradle reports created properly? Are you sure all your Spock tests are running?
Try running the build with --debug log enabled as it may show some problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants