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
Learn how to use Property Based Testing to validate message priorities in complex conditional systems. Transform a difficult-to-test switch statement into testable components using the Composite pattern and Fast-Check framework.
read articleTest for behaviour not for implementation
Discover how to write maintainable tests by focusing on behavior instead of implementation details, reducing coupling and improving test reliability.
read articleTShirt a day
Code, learning and t-shirts
read article
