This tutorial shows the first steps to creating the Test Runner application. This WPF project is responsible for calling the test framework and showing the results in the user interface.
- [Voiceover] My Test Runner project is a WPF application…that has a single window: MainWindow.xml.…I'll leave that at the default.…I'll verify that I have a reference…to my testing library.…I do.…So the next step is to build a simple user interface…inside the MainWindow.xml func,…so I'll double click on that to load the designer.…And then, I will click on this vertical split button…so that I can see the xml and the designer side-by-side.…I'd like to have two rows in my grid.…
The way I do that is click on the designer,…move my cursor to the left edge of the screen,…when I see the orange triangle I click,…and Visual Studio will add two row definitions.…And then I can change the size of these.…I'll use one star and nine star.…I'll add a button inside the grid.…Set its content property,…that's the text that's shown on the button.…So I'll say content is equal to run tests.…
And I'll add a click event handler.…I'll type in the word click.…At this point I can press the TAB key…to finish the word click.…And then when I see this new event handler message…
- 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 Beginner
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.