Mock your database

Mock your database

Databases are slow. Well, if the goal is 1 millisecond per test they are anyway. We want to avoid interacting with the database as much as possible when testing, especially if the tests aren't anything to do with the queries.

This talk will look at various ways of avoiding those pesky database queries and making tests faster!

52654cfef40a0579cb31843b01ba49bc?s=128

Marc Tamlyn

May 16, 2013
Tweet