Unit Tests
Le dummy, un indice pas si con à propos de votre design...
Un dummy dans un test est une bonne indication qu’il faut se poser des questions à propos du design du système sous test.
read articleComment tester une méthode privée ?
On ne la teste pas. Ça, c’est la réponse courte. La réponse longue demande un peu plus d’effort.
read articleTest suite guidelines
When looking at a test harness, it’s sometimes hard to decide which type of test to write, what it should cover, how we should write it. I believe we would stop losing time and remove frustration by adding guidelines for our test suites.
read articleUsing Property Based Testing to test priorities
Once we’ve decomposed one unit in smaller part, Property Based Testing can help testing for priorities between each of the subparts.
read articleTest for behaviour not for implementation
Avoid coupling between tests and implementation by testing for behaviour
read articleTShirt a day
Code, learning and t-shirts
read article