-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Benjamin Mwalimu edited this page Mar 4, 2022
·
2 revisions
- When using abbreviations in CamelCase, keep the first letter capitalized and lowercase the remaining letters. For example
- A "Keycloak OAuth Id" variable name must be written as
oAuthId
- A "Keycloak OAuth Id" variable name must be written as
Create a new branch using the following naming convention:
issue-number-feature-name
For example:
238-fix-login-page-styling
We follow the following naming convention for our test cases:
methodName_conditionUnderTest_expectedBehavior
Example:
isNumberEven_five_shouldReturnFalse
Spotless is a general-purpose formatting plugin that we are using to manage our file formatting and license addition to our project files. Read more about the spotless integration here
-
mvn spotless:check
-- Helps check for files that aren't formatted as the formatting plugin requires. -
mvn spotless:apply
-- Applies the formatting and adds license headers to the project files.
# Code Reviews
PRs can only be merged if all of the following requirements are met:
* Require approval from at-least one reviewer
* Require all checks in the PR templates to be completed
* Require status checks to pass before merging
* Require branches to be up to date before merging