Almost any project will have to deal with three test infrastructure issues, which are:
Where should the test classes go?
How should test data be managed?
How should we deal with temporary files created by our tests?
In this chapter, we present solutions to each of these problems. We don't claim that these are the only good ways of setting up test infrastructure, simply because we don't think that there are single best approaches to these issues. What we present are solutions that have worked very well for us and can easily be tailored to the requirements and culture of other projects in other organizations.
Three things we ask of our test classes are:
It must be easy to check whether ...