Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

304. Testing Tango — Arrange, Act, and Assert

304. Testing Tango — Arrange, Act, and Assert

FromThe Rabbit Hole: The Definitive Developer's Podcast


304. Testing Tango — Arrange, Act, and Assert

FromThe Rabbit Hole: The Definitive Developer's Podcast

ratings:
Length:
8 minutes
Released:
Jun 27, 2023
Format:
Podcast episode

Description

In today's episode, we delve into the testing tango and the art of Arrange, Act, and Assert (AAA), a practice that is essential when writing tests in order to structure them in a way that is coherent to other developers who may come across them. We discuss how to go about Arranging variables, how to use those variables (or Act), and then Asserting those specific behaviors. You’ll learn about the importance of having only one assertion per test and the benefits of leaving blank spaces or new lines for future reference.
Released:
Jun 27, 2023
Format:
Podcast episode

Titles in the series (100)

Welcome to The Rabbit Hole, the definitive developers podcast. If you are a software developer or technology leader looking to stay on top of the latest news in the software development world, or just want to learn actionable tactics to improve your day-to-day job performance, this podcast is for you.