Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (16 loc) · 1.02 KB

CONTRIBUTING.md

File metadata and controls

18 lines (16 loc) · 1.02 KB

If you want to contribute get in touch with the project members and ask for guidance. This project is a community driven project, so get in touch if you want to participate.

Unit tests

Activiti uses now AssertJ as alternative to default JUnit assertions. This makes tests more readable and provides clearer failure messages. Please, make sure that you are using AssertJ assertions for every new test. I.e.

  • assertThat(myBoolean).isTrue(); instead of assertTrue(myBoolean);
  • assertThat(actual).isEqualTo(expected); instead of assertEquals(expected, actual);
  • assertThat(myList).containsExactly("a", "b", "c"); instead of assertTrue(myList.contains("a", "b", "c"));

Branches naming convention

If you are creating branches directly in the main repository, this is the naming convention to be used for branches:

  • username-issueNumber-anythingYouWant