Testing Questions

Now here are some questions that get asked every time we talk about this subject, so we're guessing that you'll have some or all of them. If we miss yours, drop us an e-mail.

Q1:How Do You Test When You Have an Attached Database?
A1: There are a couple of things to be concerned about when testing with an attached database. First of all may be performance. We need the unit tests to run really fast, so that we can do our test code release cycle as quickly as possible. If lots of unit tests rely on the database, it can slow the tests down. That causes programmers to release less frequently, which increases collisions in the code manager, which slows you down even more. That's bad. Keep the database-related tests fast.

The basic ...

Get Extreme Programming Installed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.