• Skip to main content
Super Early Bird - Save 30% | Teams save up to 25%

AutomationSTAR

Test Automation Conference Europe

  • Programme
    • AutomationSTAR Team
    • 2025 programme
  • Attend
    • Why Attend
    • Volunteer
    • Location
    • Get approval
    • Bring your Team
    • 2025 Gallery
    • Testimonials
    • Community Hub
  • Exhibit
    • Partner Opportunities
    • Download EXPO Brochure
  • About Us
    • FAQ
    • Blog
    • Test Automation Patterns Wiki
    • Code of Conduct
    • Contact Us
  • Tickets

Half Day Tutorial A

Get in Control of Legacy Code with Approval Testing

Emily Bache

Booked Out
09:00 - 12:30, Monday Nov 10th CET

Approval testing is a technique that helps you to get a difficult codebase under test and begin to control your technical debt. Approval testing works best on larger pieces of code where you want to test for multiple things and interpreting failures is challenging.

In this hands-on session we’ll introduce a commonly-used Approval testing tool and learn to get control of some example code. The principles of Approval test design are in focus. Example code will be in Java, but detailed language-specific coding expertise will not be needed.

After the training, participants should be able to:

*Describe the characteristics of Approval Testing and how it differs from ordinary assertion-based testing

*Recognize Common test design patterns for Approval Testing

*Use the Approvals.Java framework to write test cases for existing code

*Inspect differences when a test fails and approve a new result

Participants should bring a laptop and expect to work on some coding exercises during the workshop, to illustrate the purpose and practice of Approval Testing.

If possible, install a Java IDE on it and clone the following github projects:

– https://github.com/emilybache/SupermarketReceipt-Refactoring-Kata

– https://github.com/emilybache/Product-Export-Refactoring-Kata.git

Both these repos contain the same exercise in multiple programming languages. Please open the ‘Java’ folder in your IDE and check you can compile successfully. We will work in small groups so if you can’t install these yourself you should be able to pair up with someone who can.

BACK TO PROGRAMME

What you will Learn

  1. Recognize common situations where Approval Testing would be more appropriate than Assertion-based testing.
  2. Focus an Approval test on what's important by using a Printer.
  3. Where to find further advice and resources on Approval Testing.

Session Details

  • Introductory
  • 3hrs
  • Interactive Tutorial
Buy Conference Ticket

Hear from programme committee member Emily Bache about this tutorial Get in Control of Legacy Code with Approval Testing at AutomationSTAR this November

Session Speaker

Emily Bache

Bache Consulting, Sweden

Emily Bache is an independent consultant, YouTuber and Technical Coach. She works with developers, training and coaching effective agile practices like Refactoring and Test-Driven Development. Emily has worked with software development for 25 years, written two books and teaches courses on platforms including Pluralsight and O'Reilly. A frequent conference speaker, Emily has been invited to keynote at prestigious developer events including EuroPython, Craft and ACCU. Emily founded the Samman Technical Coaching Society in order to promote technical excellence and support coaches everywhere.

Stay in the Loop

Never miss important announcements, updates, and special offers from AutomationSTAR.

.

"*" indicates required fields

Send me more Information

Name*
GDPR*

Copyright © 2026 · Impressum · Privacy · T&C

part of the