Clean tests, Part 2: Comments
Danny Preussler
744

Sometimes I put comments after GIVEN WHEN THEN to put even more information what happen in test.

Example:

//GIVEN: Tested presenter based, with mocked views

//WHEN: init of presenter

//THEN: View are attached and initialised as well