In TFS 2010 9 templates are available for testing.
Those are:-
1. Basic Unit Test:-
Unit Test calls the methods of a Class with passing the argument values through Parameters and verifies that the return value with expected value.
Use a Basic Unit test to testing the C++/ C# / Visual Basic technology application source code.
2. Coded UI Test:-
Test the Functionality of the user interface (UI) of Web /Windows Forms /WPF (Windows Presentation Foundation) technology application using this template.
3. Database Unit Test:-
Test the stored procedures, functions, triggers and any other type of database object with database Unit Test.
4. Generic Test:-
A generic test is an existing program that has been wrapped to function as a test in Visual Studio.
5. Load Test:-
Test the application performance with various Loads like using virtual users and simulated load.
6. Ordered Test:-
Through “Ordered Test” to execute a set of existing tests in specified order.
7. Unit Test:-
Use “Unit Test” to test the application source code.
8. Unit test Wizard:-
Generate Unit tests from Source Code and then edit the generated code and customize them.
9. Web Performance Test:-
Use this test within a load test to test the performance of a web site.
Through we can test Web Services.