Test Performance

time to read 1 min | 127 words

I recently noticed that my tests are taking quite a bit of time to run, this is partly because I'm on my laptop, with a slow HD, and partly (I guess, didn't check it yet) because that in many tests I'm doing heavy stuff that I would only need to do once in the application, but I'm doing it for each test to keep them isolated. (Building AppDomains, and the like).

Currently I've only ~150 tests, and they take more than two minutes to run. I'm going to invest some time in it, I want to cut it to under a minute. I just checked the timing report, and I've got test cases there that are way out of bound.