This tutorial studies the standard and context menus available throughout the Visual Studio IDE. This video focuses on the test specific menus. Learn how to generate unit tests from code with the Create Unit Test context menu.
- [Voiceover] I've spent the majority of this course…using the Test Explorer to run the tests,…and analyze the test results.…In this video, I'll show you how to use the menus…to access the same features.…I know you are experienced with menus,…so there shouldn't be many surprises…in how they work.…As a bonus, I'll show you the one feature…that is only available in the Context menu.…In my Test Explorer, I can click on several items.…I'll do a control-click to select two of my tests,…then I can right-click and choose to run…those selected tests, or to debug the selected tests.…
There's also a Test menu available…where I can have the same actions.…Here I can choose to run the selected tests,…or debug the selected tests.…In the Run menu, I also have the choice of running…all the tests, running just my single failed…test that I have over there.…I can also choose to run other subsets.…I can choose to run a Not-run test,…or a Path test, and I can also repeat the last run.…If I have a playlist - I have a custom playlist…
- 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
Q: This course was updated on 08/22/2017. What changed?
A: New videos were added that cover live unit testing and creating a project with the unit test framework.
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
- 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.