Test Data

It might seem convenient to initialize our test data with production code because this approach looks like a quick and easy way for setting up different test scenarios. In fact, it's a risk that can undermine the very purpose of our testing efforts. This blog post identifies the problems we face if we initialize our test data with production code and describes how we can write robust and useful tests. Read More