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
- Provide a DCO for your contribution
- Create a pull request
- JDK 11 (
JAVA_HOME
andPATH
should be set accordingly) - Gradle (is automatically downloaded by the
gradlew
script) - Android SDK if you want to build the
jgiven-android module
- Setting
ANDROID_SDK_ROOT
andANDROID=true
env variables is required
- Setting
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 checkstyle formatting file ./checkstyle.xml