Skip to content

Commit

Permalink
Add facility to use Cucumber instead of JUnit for Kotlin and Java.
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhujer committed Feb 3, 2022
1 parent 189698a commit bce6bc0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
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 {
}
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

0 comments on commit bce6bc0

Please sign in to comment.