Testing (How & Why) Uncategorized

Write better specifications with testing

Introduction A specification written by the customer – often ends as incomplete, fragmented and with parts that contradict each other – makes it difficult to build for the engineers. A specification written by the engineer – often ends with a focus on details than on needs, and to difficult for the business to read/understand. So how to do it? By using Given, When, Then! Understandable Lego and IKEA have some of the best manuals/documentation, because…

Continue reading

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

Coding & Test Automation Testing (How & Why)

Blog Series: Behavior Driven Development in LEAPWORK

Introduction Concepts such as “Behavior Driven Development (BDD)”, the “Page Object Model”, “Unit-testing”, and “Context Driven Automation” are important for automation: BDD is used to include non-technicians in the software development process. The Page Object Model is used to encapsulate an interface (for example the interactive elements in a web page). Unit-testing is used to secure, that changes made to the units (parts of code), will not introduce any unexpected breaking changes. Context Driven Automation is…

Continue reading