-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drop unsupported cucumber versions (via #117)
- Loading branch information
Showing
20 changed files
with
84 additions
and
233 deletions.
There are no files selected for viewing
63 changes: 0 additions & 63 deletions
63
allure-adapter-plugin/src/main/kotlin/DeprecatedAllureAdapterExtensions.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
allure-plugin/src/it/cucumber-jvm/src/test/java/tests/CucumberJvmTest.java
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
allure-plugin/src/it/cucumber-jvm/src/test/java/tests/Steps.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
allure-plugin/src/it/cucumber2-jvm/src/test/java/tests/Cucumber2JvmTest.java
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
allure-plugin/src/it/cucumber2-jvm/src/test/java/tests/Steps.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
allure-plugin/src/it/cucumber2-jvm/src/test/resources/features/test.feature
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
plugins { | ||
id 'java' | ||
id 'io.qameta.allure' | ||
} | ||
|
||
allure { | ||
adapter { | ||
frameworks { | ||
cucumber7jvm { | ||
version = "2.28.0" | ||
} | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
testImplementation platform('io.cucumber:cucumber-bom:7.13.0') | ||
testImplementation 'io.cucumber:cucumber-junit' | ||
testImplementation 'io.cucumber:cucumber-java' | ||
|
||
testImplementation 'junit:junit:4.12' | ||
} | ||
|
||
test { | ||
useJUnit() | ||
} |
12 changes: 12 additions & 0 deletions
12
allure-plugin/src/it/cucumber7-jvm/src/test/java/tests/Cucumber7JvmTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package tests; | ||
|
||
import io.cucumber.junit.Cucumber; | ||
import io.cucumber.junit.CucumberOptions; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Cucumber.class) | ||
@CucumberOptions( | ||
features = {"src/test/resources/features"}, | ||
plugin = {"io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm"}) | ||
public class Cucumber7JvmTest { | ||
} |
24 changes: 24 additions & 0 deletions
24
allure-plugin/src/it/cucumber7-jvm/src/test/java/tests/Steps.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package tests; | ||
|
||
import io.cucumber.java.After; | ||
import io.cucumber.java.Before; | ||
import io.cucumber.java.en.Given; | ||
import io.cucumber.java.en.Then; | ||
import io.cucumber.java.en.When; | ||
import io.qameta.allure.Attachment; | ||
|
||
import org.junit.Assert; | ||
|
||
public class Steps { | ||
|
||
@Given("step") | ||
public void stepMethod() { | ||
attachment(); | ||
} | ||
|
||
@Attachment(value = "attachment", type = "text/plain") | ||
public String attachment() { | ||
return "<p>HELLO</p>"; | ||
} | ||
|
||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.