QA Forums
September 10, 2010, 02:29:05 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go to -->  http://www.softwaretestingstuff.com
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to generate unit test cases in Visual Studio Team System  (Read 588 times)
Administrator
Administrator
Newbie
*****
Offline Offline

Posts: 9


View Profile
« on: November 12, 2008, 03:06:59 AM »

1. In Solution Explorer, right-click a test project, point to Add, and then click Unit Test.

- or -

In Solution Explorer, right-click a test project, point to Add, and then click New Test. In the Add New Test dialog box, click Unit Test Wizard and then click OK.

- or -

In the Test Manager window or the Test View window, right-click the surface of the window and click New Test. In the Add New Test dialog box, click Unit Test Wizard and then click OK.

- or -

In the Visual Studio code editor, right-click a namespace, class, or method that you want to test, and select Create Unit Tests.

This displays the Create Unit Tests dialog box.

A tree structure displays the class and member hierarchy of the assembly that houses your code. You can use this page to generate unit tests for any selection of those members or classes, and to choose a project into which you want the generated unit tests to be placed. The code elements initially selected in the tree structure are the element that you right-clicked plus any child elements it contains. The selection is based on the current cursor position.

2. Click Filter to change the contents of the displayed class and member hierarchy

3. Select additional code elements by checking their boxes.

4. Click Settings to change configuration settings for this generation of tests. For example, you can change the default naming options for test files, classes, and methods to be generated. When finished, click OK.

5. Click OK.

If the test project for your solution does not already have a file that contains a test class, this action creates one and opens the file. The class is populated with an Initialize() method, a Cleanup() method, and methods to test the code elements you selected in steps 1 and 2. Solution Explorer displays the new test file in your test project.
Logged
two0426
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #1 on: May 10, 2010, 09:28:23 PM »


The absolute best place to farm [Blindweed] is in the Swamp of Sorrows. There is also a fair amount in  wow power leveling wow gold wedding dresses aion gold wow power leveling Maraudon, and if you are able to solo it, you should be able to pick up a fair amount of [Ghost
Mushrooms] as well! There are also many in Zangarmarsh, although the recent flood of Death Knights might drive you to look elsewhere. wow gold When farming [Firebloom], I always have the best luck in the Blasted Lands, although Tanaris and the
Badlands are wjksmsmmsc home to this herb as well. There is also a fair amount of [Sungrass] available in the Blasted Lands wow power leveling Ghost Mushrooms] can be a bit of a pain to farm. Again, if you can solo Maraudon, this might be the
quickest way to acquire this herb. Another good source is a cave in the Hinterlands, as well as an area far in the back of Jintha'Alor in the same province. If there are no other herbalists farming the area, you  wedding dresses can pick up a fair amount. Finally, there are two caves in Zangarmarsh that have a decent amount, although depending on your level, might be slower to clear.
[Gromsblood] is the most common in Felwood, and [Purple Lotus] can be found in a fair quantity in Feralas as well as Stranglethorn Vale. If the  aion power leveling  Plaguelands is too busy, and you are seeking [Sungrass], pay a visit to the Blasted Lands instead 0510 LJ..
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!