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

Deprecate IntegrationSpec #142

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/main/groovy/nebula/test/BaseIntegrationSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ import spock.lang.Specification
* {@link Specification} implementation of the {@link IntegrationBase}.
*/
@CompileStatic
/**
* BaseIntegrationSpec is not recommended as it is not compatible with Gradle's instrumentation mechanisms
* ex. https://github.com/gradle/gradle/issues/27956 and https://github.com/gradle/gradle/issues/27639
*
* This will be removed in the next nebula-test major version
*/
abstract class BaseIntegrationSpec extends Specification implements IntegrationBase {
@Rule
TestName testName = new TestName()
Expand Down
7 changes: 7 additions & 0 deletions src/main/groovy/nebula/test/IntegrationSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ import groovy.transform.CompileStatic
* @author Marcin Erdmann
*/
@CompileStatic
/**
* IntegrationSpec is not recommended as it is not compatible with Gradle's instrumentation mechanisms
* ex. https://github.com/gradle/gradle/issues/27956 and https://github.com/gradle/gradle/issues/27639
*
* This will be removed in the next nebula-test major version
*/
@Deprecated
abstract class IntegrationSpec extends BaseIntegrationSpec implements Integration {
def setup() {
Integration.super.initialize(getClass(), testName.methodName)
Expand Down
Loading