Sunday, November 21, 2004

Testing on our project

A further update on our testing strategy:

We have over 2000 functional tests running on our project - they are taking over 15 minutes to run. This is unacceptable.

So last weekend I stubbed out Toplink. We have a layer which wraps toplink (called the transaction manager). It provides a subset of toplink functionality. This is what I stubbed out.

Basically, for our tests I just store everything in a hash map, convert the toplink expression tree into an eval tree and wala our tests run in 60 secs. Cool.

If your interested in the code - let me know I'm more than happy to give it away.


Post a Comment

<< Home