ATK gets test database support

One of the things that in a complex system can complicate testing, is the fact that you may rely on the database a lot. You can always mock the database, but this slows down writing the tests.

Ruby on Rails has a feature called 'fixtures', which makes setting up test databases pretty easy.

Inspired by this, a few of my fellow ATK developers have written a system to make using test databases very easy. Not only with fixtures, but also with automatic cloning of an actual database to be able to use actual data in tests (where this is relevant).

Peter has written a blogpost about this on our company website. If you're using ATK and want to increase your unit/webtesting productivity, check out his entry.

Tags: , , ,

Leave a Reply