Sunday, October 21, 2007

Run single test passed, but run all tests as a whole will fail that test

In my situation

I didn't load required fixture on that failed test when run all tests as a whole
when I run that special single test, because you already run all tests before,
and in some tests It loaded the fixture that you special test needed, and didn't clear
test database when you only run that special test. So It pass.

No comments: