Coding & Test Automation Testing (How & Why)

Write better documentation with testing

Introduction Documentation is “How a product is expected to be used” and needs to be accurate, understandable, and up-to-date. Documentation that is: Accurate can become long and cryptic (bad for understanding and updating) Often updated, can become fluffy and fragmented (bad for accuracy and understanding) Understandable can become long and shallow (bad updating and or accuracy) So how to do it? By using Given, When, Then! Make it Understandable Lego and IKEA have some of the best…

Continue reading

Coding & Test Automation Testing (How & Why)

Layers of Complexity and when to apply testing

Introduction Testing helps with complexity, but need to be applied at the right situation, to deal with complexity, without adding increasing it unnecessary. Complexity level 0 – clarity The code is simple and easy to read. How to deal with it: No need to test it and no documentation needed. Avoid comments – because you will need to maintain both the code and the comments. Outdated comments confuse more than help. A single comment can…

Continue reading