Black Friday Course Sales, Save 50%!

Ready to learn Flask and Docker this year? This deal applies to Build a SAAS App with Flask and Dive into Docker, it's available for .

Live Demo: How to Begin Writing Tests in an Untested Code Base

blog/cards/live-demo-how-to-begin-writing-tests-in-an-untested-code-base.jpg

In this video I go over testing and documenting the features of an audio player but the steps taken could be applied to any code base.

Quick Jump: Walking through Testing a Real Feature

It’s a good idea to write tests but sometimes you take on an existing code base without tests or maybe you focused on your app’s features more so than your tests to begin with and now you want to start writing tests.

This video goes over breaking down the state of each tiny thing that composes a specific feature you want to test and instead of explaining the process we’ll do it live for a real world application. We’re specifically going to write out potential test cases that you could write for a custom audio player.

By the end of the video you’ll see the overall strategy of how this unfolds in a real code base so that you can start applying it to your own projects. This project even goes over coming up with tests for code you didn’t write because it deals with wanting to test someone’s pull request on GitHub without having an existing test suite.

Walking through Testing a Real Feature

Never Miss a Tip, Trick or Tutorial

Like you, I'm super protective of my inbox, so don't worry about getting spammed. You can expect a few emails per month (at most), and you can 1-click unsubscribe at any time. See what else you'll get too.



Comments