Always Start Fresh

When dealing with integration tests, specifically around APIs, the goal is be able to test the entire process from the HTTP Rest calls through to the database. Sure you can set up a MySQL database for integration testing and populate it with data, but how do you handle updates to the database? You cannot rollback in an integration environment. The only way to guarantee consistent results would be to start with a fresh database every time the test runs. One nice way to do this would be with an in-memory DB. My first attempt at this failed miserably.

Continue reading »

Sharpen The Saw

The start of a new year is the traditional time for many people to establish their resolutions for the coming twelve months. However, most will likely fall off the new year resolution bandwagon in less than thirty days. In fact only 8% of people that make these resolutions actually achieve them. (Source: New Years Resolution Statistics)

Continue reading »
Top