Skip to main content

You are currently viewing the Trifork Blog, to view our full website please go to Trifork.com

Testing with factories

On July 1st, Jelmer added a very useful blog post about testing the database layer in which he suggested to use “insert statement” and “fixture” classes to provide a good way to insert test data into your database. I am also using that technique as I’m writing unit tests for the database layer. I have […]