- Git commits should be short and precise
- They should be ordered in a way that represents their dependencies
- The first line should be capitalized
- The first line should not exceed 50 characters, the trailing lines 75 at max
- Git commits should be imperative
- "Add" to add a functionality
- "Remove" to remove code
- "Fix" to fix a bug
- "Update" to update a functionality
- "Move" to move something
A feature branch should be named "feature/<featureDescriptor>".
A branch for a bugfix should be named "bugfix/<bugDescriptor>".
A branch for fixing a critical bug should be named "hotfix/<bugDescriptor>".
- test branch
- create pull request with description of the change this pull request does
- Unit tests are run with gradle
- Integration tests are run with cypress via npm
- Everything possible should be tested
- Unit tests should be named with BDD syntax e.g. "should load about page"
- Create View
- Create Controller - Mockup
- Create Tests
- Create Controller
- Run tests
Tests should be run regulary when making a bigger change.
Each step should be one commit.