We appreciate that. Do keep the following in mind:
- Before making significant contribution consider discussing the outline of your solution first. This may avoid a duplication of efforts.
- When you send a pull requests, please include tests to go along with it.
- Want to paste some code or output? Put ``` on a line above and below your code/output. See Github Flavored Markdown's Fenced Code Blocks for details.
To automatically format the java source code run
mvn spotless:apply
To configure Intelij IDEA/Eclipse use the configuration files in .spotless/
.
- UTF-8 file encoding +
- LF (UNIX) line endings +
- 4 Space indent (no tabs) +
- XML
- Java
- 2 Space indent (no tabs) +
- Gherkin
+
These are set automatically if you use an editor/IDE that supports
EditorConfig.
Cucumber-JVM is built with Maven.
mvn clean install
File -> Open Project -> path/to/cucumber-jvm/pom.xml
Your .feature
files must be in a folder that IDEA recognises as source or
test. You must also tell IDEA to copy your .feature
files to your output
directory:
Preferences -> Compiler -> Resource Patterns -> Add `;?*.feature`
If you are writing step definitions in a scripting language you must also add the appropriate file extension for that language as well.
Just load the root pom.xml