Test code should always be treated with the same care production code is – because test code IS production code! Your source code for your tests may not be deployed to your customers’ production servers, but it’s every bit as important as the components that are
Approach the design, implementation, and maintenance of your test suites with the same engineering and craftsman mindset you approach the design, implementation, and maintenance of your system’s data access layer, business logic layer, etc.