Artwork

Content provided by Stride NYC. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Stride NYC or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

304. Testing Tango — Arrange, Act, and Assert

7:47
 
Share
 

Manage episode 407234515 series 3559038
Content provided by Stride NYC. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Stride NYC or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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.

  continue reading

326 episodes

Artwork
iconShare
 
Manage episode 407234515 series 3559038
Content provided by Stride NYC. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Stride NYC or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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.

  continue reading

326 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide