You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/10/12 10:57:22 UTC
[isis-app-simpleapp] branch master updated: supposed fix for
surefire not picking up cucumber features
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git
The following commit(s) were added to refs/heads/master by this push:
new 4880ccf supposed fix for surefire not picking up cucumber features
4880ccf is described below
commit 4880ccf7d78904e207c7819356d431456b006b52
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Oct 12 12:54:37 2020 +0200
supposed fix for surefire not picking up cucumber features
---
.../bdd/specs/{HasCucumberFeatures.java => CucumberTest.java} | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/webapp/src/test/java/domainapp/webapp/bdd/specs/HasCucumberFeatures.java b/webapp/src/test/java/domainapp/webapp/bdd/specs/CucumberTest.java
similarity index 76%
rename from webapp/src/test/java/domainapp/webapp/bdd/specs/HasCucumberFeatures.java
rename to webapp/src/test/java/domainapp/webapp/bdd/specs/CucumberTest.java
index d58cb5a..3389412 100644
--- a/webapp/src/test/java/domainapp/webapp/bdd/specs/HasCucumberFeatures.java
+++ b/webapp/src/test/java/domainapp/webapp/bdd/specs/CucumberTest.java
@@ -22,8 +22,15 @@ import io.cucumber.junit.platform.engine.Cucumber;
/**
* Cucumber will scan the package of a class annotated with @Cucumber for feature files.
+ * <p>
+ * Make sure this class name ends with Test, as Surefire when bundled with Apache Isis
+ * filters JUnit tests also by class name.
*/
@Cucumber
-public class HasCucumberFeatures {
+public class CucumberTest {
+
+ // See:
+ // https://github.com/cucumber/cucumber-jvm/issues/1149
+ // https://github.com/cucumber/cucumber-jvm/tree/master/junit-platform-engine
}