Sunday, August 31, 2008

Acceptance Tests

I'm writing functional tests for Piggydb. Those tests are the same level as acceptance tests.

I think automated acceptance tests is far more important and valuable than unit tests, because acceptance tests is the least of possible tests affected by application implementation technology. What if you have to port your application for another framework or upgrade the framework to a higher version? The acceptance tests would not be affected, even when the programming language is changed.

Of course, it's also important that acceptance tests describe what an application should do from a user or customer perspective. It's the most informative code.

No comments: