-
-
Notifications
You must be signed in to change notification settings - Fork 482
Open
Labels
enhancementIndicates new feature requestsIndicates new feature requestssmartbear-supportedSmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbearSmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbear
Description
This is the tracking issue for what was discussed in #1844. It requires 2 parts to be implemented:
- Provide a way to ignore (or conditionally ignore) a
@Pact
annotated method
The main issue here is that if a test is ignored for some reason, the @Pact
annotated method will never be called, and the test will class will be marked as failed.
- Support for using the JUnit 5 annotations
org.junit.jupiter.api.condition.DisabledForJreRange
org.junit.jupiter.api.condition.DisabledIf
org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable
org.junit.jupiter.api.condition.DisabledIfEnvironmentVariables
org.junit.jupiter.api.condition.DisabledIfSystemProperties
org.junit.jupiter.api.condition.DisabledIfSystemProperty
org.junit.jupiter.api.condition.DisabledInNativeImage
org.junit.jupiter.api.condition.DisabledOnJre
org.junit.jupiter.api.condition.DisabledOnOs
Metadata
Metadata
Assignees
Labels
enhancementIndicates new feature requestsIndicates new feature requestssmartbear-supportedSmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbearSmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbear