Dogs Chasing Squirrels

A software development blog

Test utilities

0

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: