Visual T# has been developed to simplify the design and the coding of unit tests for Microsoft.NET.
Visual T# is a unit tests development environment integrated in Visual Studio™ (it also has a standalone version).
This environment includes:
T#: a programming language specialized for unit testing. T# is based on C# v2, that makes its use really simple to .NET developers. New keywords has been introduced to simplify test coding. And big emphasis has been placed on the definition of the test intention.
Tools to compile, run and navigate through tests.
Visual T# has the following advantages:
Follow Good Practices: identify quickly the 3 parts of each test (prepare, execute, verify).
Identify Errors Quickly: do you have a bad test or a bad tested code?
Write Assertions Easily: use one word only for all the cases: 'assert'.
Debug Efficiently: run unit test for tested declarations, even if you do not know where you write your tests.
Use many Contexts: run your tests as many times as you want for different contexts without duplicating them.
Know Missing Logical Tests Quickly: missing tests are displayed at compile-time! Needed tests are based on business logic.
Write tests easily: each assertion only needs 1 line of code (even for events testing, exception testing...), use relative assertions.
Write Impossible Tests: write tests for hidden members the same way as public members, without changing tested code!
Manage existing as well as missing tests live: Thanks to our new 'Visual T# Tests Explorer'!
Test synchronous/asynchronous events in 1 line of code only!
Define natural language like assertions to be more user friendly.
THE EASIEST WAY TO MOCK ANYTHING YOU WANT with only one operator: $
THE EASIEST WAY TO TEST YOUR TESTS AUTOMATICALLY! Thanks to Mutation Testing