Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1000 Bytes

CONTRIBUTING.md

File metadata and controls

20 lines (14 loc) · 1000 Bytes

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