Skip to content
Permalink
Browse files

re-split Cucumber test start methods.

  • Loading branch information...
pabender committed Jun 23, 2019
1 parent 2feecc4 commit 4da21f23ddf07a78e6b67b84ddef34eeb09e95ac
Showing with 36 additions and 1 deletion.
  1. +3 −0 build.xml
  2. +1 −0 java/test/apps/PackageTest.java
  3. +31 −0 java/test/apps/RunCucumberTest.java
  4. +1 −1 java/test/jmri/RunCucumberTest.java
@@ -1642,6 +1642,9 @@
<test name="jmri.RunCucumberTest">
<formatter usefile="no" type="brief"/>
</test>
<test name="apps.RunCucumberTest">
<formatter usefile="no" type="brief"/>
</test>
</junit>
<fail>
<condition>
@@ -45,6 +45,7 @@
SampleMinimalProgramTest.class,
SystemConsoleTest.class,
AppsLaunchFrameTest.class,
RunCucumberTest.class,
})
/**
* Invoke complete set of tests for the apps package
@@ -0,0 +1,31 @@
package apps;

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
import org.junit.AfterClass;
import org.junit.BeforeClass;

/**
* Trigger file for Cucumber tests.
* <p>
* This file provides default options for cucumber.</p>
* <p>
* To override those using maven add -Dcucumber.options="..." to the maven
* command line
* </p>
* <p>
* To override those in ant, run:<br/>
* JAVA_OPTIONS='-Dcucumber.options="..."' ant target
* </p>
* @author Paul Bender Copyright 2017
*/


@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"junit:cucumber-results.xml","progress","json:cucumber-results.json"},
features="java/acceptancetest/features/apps",
tags = {"not @webtest", "not @Ignore", "not @ignore"},
glue = {"apps","jmri"} )
public class RunCucumberTest {
}
@@ -24,7 +24,7 @@

@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"junit:cucumber-results.xml","progress","json:cucumber-results.json"},
features="java/acceptancetest/features",
features="java/acceptancetest/features/web",
tags = {"not @webtest", "not @Ignore", "not @ignore"},
glue = {"apps","jmri"} )
public class RunCucumberTest {

0 comments on commit 4da21f2

Please sign in to comment.
You can’t perform that action at this time.