The A/B Smartly Java SDK is an open source project and we welcome your feedback and contributions. The information below describes how to build and test the project, and how to submit a pull request.
- Fork the repository and create a topic branch from
mainbranch. Please use a descriptive name for your branch. - While developing, use descriptive messages in your commits. Avoid short or meaningless sentences like: "fix bug".
- Make sure to add tests for both positive and negative cases.
- Run the linter script of the project and fix any issues you find.
- Run the build script and make sure it runs with no errors.
- Run all tests and make sure there are no failures.
git pushyour changes to GitHub within your topic branch.- Open a Pull Request from your forked repo and into the
mainbranch of the original repository. - When creating your PR, please fill out all the fields of the PR template, as applicable, for the project.
- Check for conflicts once the pull request is created to make sure your PR can be merged cleanly into
main. - Keep an eye out for any feedback or comments from A/B Smartly's SDK team.
./gradlew build
The project includes unit tests.
All tests can be run at once with the following command:
./gradlew test
You can run all formatting and static analysis checks at once with the following command:
./gradlew check
If you have any other questions or need to contact us directly we can be reached at sdk@absmartly.com