samedi 21 juillet 2018

Codeception PHP-Unit - Unit Test Names don't seperate numbers

In my unit tests, I have the following example test name:

public function testMethodApplyPromotionToThreeItemAsReturnsDiscountOf15()

When I run the tests, I get the following formatted output:

✔ ThreeOfItemAPromotionTest: Method apply promotion to three item bs returns discount of0 (0.00s)

How can I make Codeception recognise that the 0 is meant to be spaced? I'd rather not resport to writing it as 'Zero', as I may have some large numbers.

Aucun commentaire:

Enregistrer un commentaire