Approval Testing - 07 May 2021 (New Zealand Timezone)

99-Minute Workshops, the brand new addition to Ministry of Testing’s learning platform available only to our Pro Members.

Our short, instructor-led, workshops are the perfect way to explore and experiment with new ideas, keep updated with new tools and approaches to testing. Broadening your understanding of what it means to be a valuable member of a modern software development team.

Approval Testing

Learn how approval testing can be more effective than traditional assertion-based test automation with Emily Bache on the 7th of May 2021, 7 PM (New Zealand Time) with the workshop Approval Testing.

After this workshop, you will be able to

  • describe the characteristics of Approval Testing,
  • describe Text-based and Pixel-based approaches,
  • use a different tools to evaluate approval test failures and approve new results,
  • use the Approval framework to write test cases for existing code where a Printer already exists and
  • compare Approval testing with assertion-based testing and explain in which situations it has advantage.
     

For more information on the 99-Minute Workshops click here.

Go Pro
99-minute workshops are only available to Pro members, Go Pro and you can join them all!

Instructor

Emily Bache

Emily Bache

Technical Agile Coach

Workshop

Approval Testing is an automation technique that can be more effective than traditional assertion-based test automation. For example when:
  • The expected result is hard to calculate in advance, but easy to verify afterwards.
  • The expected result has many aspects and details which are a lot of work to assert individually.
  • You want to get high regression test coverage for existing code relatively quickly.
In this course you will learn about text-based approval testing using the tool “Approvals”. (We’ll use the Java version but it is also available in other languages such as C#, Python and C++).

Takeaways

Use a diff tool to evaluate approval test failures and approve new results when appropriate.

Use the Approvals framework to write test cases for existing code where a Printer already exists.

Compare Approval testing with assertion-based testing and explain in which situations it has advantages.

Describe Text-based and Pixel-based approaches.

Describe the characteristics of Approval Testing.

Emily Bache
Emily is a long-term proponent of agile development practices like Test-Driven Development, and is one of the pioneers of the professional developer teaching forum called ”Coding Dojo”. Emily is an author with Pluralsight, a contributor to the book “97 things every Java programmer should know”, and a regular conference speaker.
@emilybache
http://proagile.eu