-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit uses Cucumber instead of JBehave to run BDD tests. I made this choice because Cucumber seemed easier to integrate within a Tycho build, especially because JBehave's JAR does not include its dependencies. As the two libraries usedvery similar API, changes made to the code are really minor. /!\ 1 test still fail, likely because the away launch configurations are created has changed Travis CI is able to run UI tests (#6).
- Loading branch information
Showing
59 changed files
with
1,397 additions
and
876 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
language: java | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
# Prevent "mvn install" default step | ||
install: true | ||
|
||
env: DISPLAY=:99.0 | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- metacity | ||
|
||
before_script: | ||
- sh -e /etc/init.d/xvfb start | ||
- metacity --sm-disable --replace 2> metacity.err & | ||
|
||
script: mvn verify |
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
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
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
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
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry exported="true" kind="lib" path="cucumber-core-4.3.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="cucumber-expressions-6.2.2.jar"/> | ||
<classpathentry exported="true" kind="lib" path="cucumber-java-4.3.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="cucumber-junit-4.3.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="datatable-1.1.12.jar"/> | ||
<classpathentry exported="true" kind="lib" path="datatable-dependencies-1.1.12.jar"/> | ||
<classpathentry exported="true" kind="lib" path="gherkin-5.1.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="tag-expressions-1.1.1.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>io.cucumber</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
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,161 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Cucumber | ||
Bundle-SymbolicName: io.cucumber | ||
Bundle-Version: 4.3.0 | ||
Bundle-ClassPath: cucumber-core-4.3.0.jar, | ||
cucumber-expressions-6.2.2.jar, | ||
cucumber-java-4.3.0.jar, | ||
cucumber-junit-4.3.0.jar, | ||
datatable-1.1.12.jar, | ||
datatable-dependencies-1.1.12.jar, | ||
gherkin-5.1.0.jar, | ||
tag-expressions-1.1.1.jar | ||
Export-Package: cucumber.api, | ||
cucumber.api.cli, | ||
cucumber.api.event, | ||
cucumber.api.formatter, | ||
cucumber.api.java, | ||
cucumber.api.java.af, | ||
cucumber.api.java.am, | ||
cucumber.api.java.an, | ||
cucumber.api.java.ar, | ||
cucumber.api.java.ast, | ||
cucumber.api.java.az, | ||
cucumber.api.java.bg, | ||
cucumber.api.java.bm, | ||
cucumber.api.java.bs, | ||
cucumber.api.java.ca, | ||
cucumber.api.java.cs, | ||
cucumber.api.java.cy_gb, | ||
cucumber.api.java.da, | ||
cucumber.api.java.de, | ||
cucumber.api.java.el, | ||
cucumber.api.java.en, | ||
cucumber.api.java.en_au, | ||
cucumber.api.java.en_lol, | ||
cucumber.api.java.en_old, | ||
cucumber.api.java.en_pirate, | ||
cucumber.api.java.en_scouse, | ||
cucumber.api.java.eo, | ||
cucumber.api.java.es, | ||
cucumber.api.java.et, | ||
cucumber.api.java.fa, | ||
cucumber.api.java.fi, | ||
cucumber.api.java.fr, | ||
cucumber.api.java.ga, | ||
cucumber.api.java.gj, | ||
cucumber.api.java.gl, | ||
cucumber.api.java.he, | ||
cucumber.api.java.hi, | ||
cucumber.api.java.hr, | ||
cucumber.api.java.ht, | ||
cucumber.api.java.hu, | ||
cucumber.api.java.id, | ||
cucumber.api.java.is, | ||
cucumber.api.java.it, | ||
cucumber.api.java.ja, | ||
cucumber.api.java.jv, | ||
cucumber.api.java.ka, | ||
cucumber.api.java.kn, | ||
cucumber.api.java.ko, | ||
cucumber.api.java.lt, | ||
cucumber.api.java.lu, | ||
cucumber.api.java.lv, | ||
cucumber.api.java.mk_cyrl, | ||
cucumber.api.java.mk_latn, | ||
cucumber.api.java.mn, | ||
cucumber.api.java.nl, | ||
cucumber.api.java.no, | ||
cucumber.api.java.pa, | ||
cucumber.api.java.pl, | ||
cucumber.api.java.pt, | ||
cucumber.api.java.ro, | ||
cucumber.api.java.ru, | ||
cucumber.api.java.sk, | ||
cucumber.api.java.sl, | ||
cucumber.api.java.sr_cyrl, | ||
cucumber.api.java.sr_latn, | ||
cucumber.api.java.sv, | ||
cucumber.api.java.ta, | ||
cucumber.api.java.th, | ||
cucumber.api.java.tl, | ||
cucumber.api.java.tlh, | ||
cucumber.api.java.tr, | ||
cucumber.api.java.tt, | ||
cucumber.api.java.uk, | ||
cucumber.api.java.ur, | ||
cucumber.api.java.uz, | ||
cucumber.api.java.vi, | ||
cucumber.api.java.zh_cn, | ||
cucumber.api.java.zh_tw, | ||
cucumber.api.java8, | ||
cucumber.api.junit, | ||
cucumber.runner, | ||
cucumber.runtime, | ||
cucumber.runtime.autocomplete, | ||
cucumber.runtime.filter, | ||
cucumber.runtime.formatter, | ||
cucumber.runtime.io, | ||
cucumber.runtime.java, | ||
cucumber.runtime.junit, | ||
cucumber.runtime.model, | ||
cucumber.runtime.snippets, | ||
cucumber.util, | ||
gherkin, | ||
gherkin.ast, | ||
gherkin.cli, | ||
gherkin.deps.com.google.gson, | ||
gherkin.deps.com.google.gson.annotations, | ||
gherkin.deps.com.google.gson.internal, | ||
gherkin.deps.com.google.gson.internal.bind, | ||
gherkin.deps.com.google.gson.reflect, | ||
gherkin.deps.com.google.gson.stream, | ||
gherkin.deps.net.iharder, | ||
gherkin.events, | ||
gherkin.pickles, | ||
gherkin.stream, | ||
io.cucumber.core.logging, | ||
io.cucumber.core.model, | ||
io.cucumber.core.options, | ||
io.cucumber.cucumberexpressions, | ||
io.cucumber.datatable, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.annotation, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.async, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.base, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.filter, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.format, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.io, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.json, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.json.async, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.sym, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.type, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.core.util, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.annotation, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.cfg, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.deser, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.deser.impl, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.deser.std, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.exc, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.ext, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.introspect, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.jsonFormatVisitors, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.jsonschema, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.jsontype, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.jsontype.impl, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.module, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.node, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.ser, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.ser.impl, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.ser.std, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.type, | ||
io.cucumber.datatable.dependency.com.fasterxml.jackson.databind.util, | ||
io.cucumber.datatable.dependency.difflib, | ||
io.cucumber.datatable.dependency.difflib.myers, | ||
io.cucumber.stepexpression, | ||
io.cucumber.tagexpressions | ||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | ||
Automatic-Module-Name: io.cucumber | ||
Require-Bundle: org.junit;bundle-version="[4.12.0,5.0.0)" |
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,9 @@ | ||
bin.includes = META-INF/,\ | ||
cucumber-core-4.3.0.jar,\ | ||
cucumber-expressions-6.2.2.jar,\ | ||
cucumber-java-4.3.0.jar,\ | ||
cucumber-junit-4.3.0.jar,\ | ||
datatable-1.1.12.jar,\ | ||
datatable-dependencies-1.1.12.jar,\ | ||
gherkin-5.1.0.jar,\ | ||
tag-expressions-1.1.1.jar |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src"> | ||
<attributes> | ||
<attribute name="test" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
Oops, something went wrong.