-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add e2e execution when merge to main
- Loading branch information
1 parent
f10cdea
commit 78d0bed
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
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
17 changes: 7 additions & 10 deletions
17
tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/TestSuite.kt
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 |
---|---|---|
@@ -1,23 +1,20 @@ | ||
package io.iohk.atala.prism | ||
|
||
import io.cucumber.java.BeforeAll | ||
import io.cucumber.junit.CucumberOptions | ||
import io.iohk.atala.prism.configuration.Environment | ||
import net.serenitybdd.cucumber.CucumberWithSerenity | ||
import org.junit.BeforeClass | ||
import org.junit.runner.RunWith | ||
|
||
@RunWith(CucumberWithSerenity::class) | ||
@CucumberOptions( | ||
features = ["src/test/resources/features"], | ||
plugin = ["pretty"] | ||
) | ||
class TestSuite { | ||
companion object { | ||
@JvmStatic | ||
@BeforeClass | ||
fun setupEnvironment() { | ||
Environment.setup() | ||
} | ||
} | ||
} | ||
class TestSuite | ||
|
||
// https://cucumber.io/docs/cucumber/api/?lang=kotlin | ||
@BeforeAll | ||
fun setupEnvironment() { | ||
Environment.setup() | ||
} |