Blog (10 / 93)

3 Reasons Why We Shouldn’t Initialize Our Test Data With Production Code

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 about 3 Reasons Why We Shouldn’t Initialize Our Test Data With Production Code

Writing Integration Tests for Spring Boot Web Applications: Spring Profiles

When we are writing integration tests for Spring Boot (web) applications, we typically don't want to use the configuration that's used when we run our application in the development, test, or production environment. This blog post describes how we can leverage Spring profiles when we have to create a separate configuration for our integration tests. Read More about Writing Integration Tests for Spring Boot Web Applications: Spring Profiles

Get practical tips and tutorials on test automation, Spring, and software development in your inbox. You’ll also never miss a new blog post. You can unsubscribe at any time.

My privacy policy identifies the information which I collect if you subscribe my email newsletter and describes how I use the collected information.