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

Chore: skip one bdd test #72

Merged
merged 2 commits into from
Apr 21, 2023
Merged
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
7 changes: 7 additions & 0 deletions features/src/test/java/com/openapi/forge/RunCucumberTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.openapi.forge;

import static io.cucumber.junit.platform.engine.Constants.FILTER_NAME_PROPERTY_NAME;
import static io.cucumber.junit.platform.engine.Constants.GLUE_PROPERTY_NAME;
import static io.cucumber.junit.platform.engine.Constants.PLUGIN_PROPERTY_NAME;

Expand All @@ -13,4 +14,10 @@
@SelectClasspathResource("com/openapi/forge")
@ConfigurationParameter(key = PLUGIN_PROPERTY_NAME, value = "pretty")
@ConfigurationParameter(key = GLUE_PROPERTY_NAME, value = "com.openapi.forge")
// Skip a test scenario where a non-standard behaviour of GET request with requestBody is used.
// See discussion in https://github.com/ScottLogic/openapi-forge/issues/182.
@ConfigurationParameter(
key = FILTER_NAME_PROPERTY_NAME,
value = "^(?!Calling API methods with a request body).*$"
)
public class RunCucumberTest {}