-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add facility to use Cucumber instead of JUnit for Kotlin and Java.
- Loading branch information
1 parent
189698a
commit bce6bc0
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
expensereport-java/src/test/java/com/nelkinda/training/CucumberTest.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 com.nelkinda.training; | ||
|
||
import org.junit.platform.suite.api.IncludeEngines; | ||
import org.junit.platform.suite.api.SelectClasspathResource; | ||
import org.junit.platform.suite.api.Suite; | ||
|
||
@Suite | ||
@IncludeEngines("cucumber") | ||
@SelectClasspathResource("features") | ||
@SuppressWarnings("java:S2187") | ||
public class CucumberTest { | ||
} |
10 changes: 10 additions & 0 deletions
10
expensereport-kotlin/src/test/kotlin/com/nelkinda/training/CucumberTest.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.nelkinda.training | ||
|
||
import org.junit.platform.suite.api.IncludeEngines | ||
import org.junit.platform.suite.api.SelectClasspathResource | ||
import org.junit.platform.suite.api.Suite | ||
|
||
@Suite | ||
@IncludeEngines("cucumber") | ||
@SelectClasspathResource("features") | ||
class CucumberTest |