sam
10/11/2020, 7:47 PMthanksforallthefish
10/12/2020, 6:08 AMval employees: List<Employee> = ...
employees.shouldBeSorted()
shouldHaveSize(4)
shouldContain(Employee("Sam", "Chicago"))
be
val employees: List<Employee> = ...
employees.shouldBeSorted()
.shouldHaveSize(4)
.shouldContain(Employee("Sam", "Chicago"))
? in Matchers return this
examplesam
10/12/2020, 8:29 AMthanksforallthefish
10/12/2020, 8:32 AM.
in front of should
for second and third expectationsam
10/12/2020, 8:44 AMsam
10/12/2020, 8:44 AMthanksforallthefish
10/12/2020, 8:52 AMOption to strip whitespace from test names
seems a bit odd. The normal output and the removeTestNameWhitespace
output looks the same. probably in the first one you mean to have an extra line (again, just guessing, never used multi-line method names)thanksforallthefish
10/12/2020, 8:53 AMsam
10/12/2020, 8:55 AMJim
10/12/2020, 5:23 PMsam
10/12/2020, 5:24 PMsam
10/12/2020, 5:24 PMJim
10/12/2020, 5:25 PM