Join Walt Ritscher for an in-depth discussion in this video How to use the exercise files, part of Visual Studio Essential Training: 09 Unit Tests.
- [Voiceover] If you are a member of Lynda.com, you have access to the exercise files used throughout this title. I've copied the exercise files to my desktop, let's take a look. In order to use the exercises in this folder, you'll have to have Visual Studio 2015 installed. You'll also need to have the NUnit and xUnit tools installed in Visual Studio. There are instructions for how to install these tools in the course. Each chapter is numbered, and each video is numbered. If there's an exercise available for a video, you'll find a matching numbered folder.
Inside each numbered folder are the individual exercise files. In some videos, there's also a Done folder, that contains the final version of the project created in the video. This is the Starter folder, inside of this folder you'll see that there's an SLN file, this is the file that you open in Visual Studio. Since I have Visual Studio installed on this computer, I can double-click on the SLN file and it will launch Visual Studio. I recommend you build each project the first time you open it in your computer. This ensures that the unit packages are updated in the solution, and the unit test code appears in the Test Explorer.
Now that you've seen how to open the exercise files, let's get started.
- 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.