Contributions are very welcome. There are different ways you can contribute:
- Improve the documentation
- The JGiven documentation is written in AsciiDoc and is located in the
docs
folder.
- The JGiven documentation is written in AsciiDoc and is located in the
- Fix/implement known issues
- Issues with the label help wanted would be the ideal candidate for that.
- Come up with new ideas for improving JGiven
- If you have an idea how JGiven can be improved, just open a new issue and describe your idea.
- Report bugs
- If you find a bug in JGiven, please open a new issue.
If you want to contribute code or documentation please follow the following workflow:
- Fork the project
- Create a new feature branch with your contribution (not needed for documentation improvements)
- Implement your great new feature or bug fix
- Create a pull request
- JDK 8 (
JAVA_HOME
andPATH
should be set accordingly)- Note that JGiven is built and compatible with Java 7, however, because of some test libraries, Java 8 is required for executing the tests in the
jgiven-tests
project
- Note that JGiven is built and compatible with Java 7, however, because of some test libraries, Java 8 is required for executing the tests in the
- Gradle (is automatically downloaded by the
gradlew
script)
After you have cloned the Git repository execute the following command to build and test JGiven:
./gradlew test
Please follow the code format of existing code. Do never reformat a file!
You can ensure the correct code formatting by using the provided Eclipse formatter develop/eclipse-formatter.xml
.