I put some MSTest-based unit testing utilities up on github. So far I have FileAssert and DirectoryAssert classes that compare the contents of, as you would expect, files and directories. I do a lot of code generation and so it’s useful to be able to compare files and directories easily. I did some extra work so that when files and directories are different, the message that comes back is helpful and identifies the lines and character positions that differ. This is something you don’t get when simply comparing strings.