Cellfish.Test classes


This is a static class containing a number of helper methods for improved asserts in your tests. For example Ensure.Throws makes it easy to verify the correct exception is thrown while Ensure.TaskFails makes it easy to verify task failures. These helpers are also unique to other asserts in that they verify that the type of exception is exactly what you want and not a derived exception type. There is also Ensure.TaskCompletes for tasks. For collections there is a Ensure.Empty.

Last edited Dec 31, 2013 at 9:48 PM by cellfish, version 3