Test Explorer comes with an another feature to manage unit test as a group/subset, called a “Playlist”. A playlist is a saved set of unit tests, with a unique name. This tutorial shows how to create a playlist and execute the playlist in Test Explorer.
- View Offline
- Exercise Files
- [Voiceover] The Test Explorer has several ways…of grouping and filtering your tests,…so that you can run a subset of tests…from your entire Test Suite.…You've seen that there's a groupings feature up here,…where you can group by Class or Duration or Outcome.…There's also a filter feature here, and a search feature,…so I can search for part of a method name,…or I can use this to filter by, say, a trait value.…Once you have your subset of tests,…you might want to save it so that you can replay it later.…
And that's the purpose of a playlist.…I'll select three of my items…by holding down the control key and clicking on three tests.…Now, that I have these three tests selected,…I can right-click and choose Add to Playlist.…Call this one MondayExample.…Now I can come back to this drop down…and choose to run all tests,…or just MondayExample.…So, I just ran those three tests…and now I can go back and either choose run all,…or I can go to my playlist here, and choose all tests.…
- Examining types of frameworks
- Choosing a naming convention
- Creating unit tests
- Running unit tests with Visual Studio
- Modifying and correcting code
- Handling exceptions
- Installing and using nUnit
- Viewing test results with CodeLens
Skill Level Intermediate
1. Create a Simple Unit Test Framework
2. Unit Testing Conventions
Choose a naming convention5m 59s
3. Work with Visual Studio Unit Testing Framework
4. Work with xUnit
5. Work with nUnit
6. Additional Topics
Next steps1m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.