Skip to content

Commit

Permalink
Chore: skip one bdd test (#72)
Browse files Browse the repository at this point in the history
* chore: skip one bdd test

* chore: update config comment
  • Loading branch information
gkocak-scottlogic authored Apr 21, 2023
1 parent b3f16de commit 923b94a
Showing 1 changed file with 7 additions and 0 deletions.
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 {}

0 comments on commit 923b94a

Please sign in to comment.