I have a number of projects in a solution file that have unit tests written for them and I am wanting to set them up to be run by our continuous integration server. However, because many of the tests have been written poorly and have not been run regularly there are many that are failing.
I don't have the time at the moment to fix all of the tests but I do believe there is value in having the existing tests run. What is the best way do deal with the failing Unit Tests?
What I am currently doing is marking each failing test as Explicit and leaving a TODO comment.
[Test, Explicit] //TODO: Rewrite this test because it fails
Is there a better way of doing this? Or should I fix all the tests before including them in the tests that are run by the CIS?