Course
Skills Expanded
Introduction to Fixie 1: Convention-based Testing in .NET
Create less cluttered and more customizable test code with the convention-based Fixie testing framework.
What you'll learn
The Fixie testing framework differs from other testing frameworks in that it is based on conventions. This means we can write test classes and test methods without needing to repeatedly apply attributes, as with other testing frameworks. Fixie comes with a set of default conventions to get up and running quickly and also allows the creation of custom convention to control test discovery, test execution, and the creation of data driven tests.
Table of contents
Introducing Fixie
18mins
- Version Check 0m
- Introduction 2m
- Comparing Fixie to NUnit and xUnit.net 3m
- Default Test Discovery Conventions 1m
- Under the Covers: Default Convention 1m
- Test Execution Lifecycle 1m
- Supported Test Runners 1m
- A Quote from the Creator 1m
- Getting Started in Visual Studio 2m
- Fixie Test Discovery 3m
- Course Structure 2m
- Summary 1m
Writing Tests and Asserting Values
36mins
- Introduction 1m
- Assertion Libraries 1m
- Installing Should and Asserting Numbers 7m
- Asserting Strings 4m
- Asserting Nulls and Booleans 3m
- Asserting Collection Contents 3m
- Asserting Object Types 3m
- Asserting Ranges 4m
- Running Code Before and After Each Test 5m
- Running Tests from the Command Line 3m
- Summary 2m
Creating Custom Conventions
48mins
- Introduction 0m
- Custom Conventions Overview 3m
- Customizing Test Discovery 5m
- Restricting Custom Conventions to Namespaces 4m
- Using Conventions from Other Assemblies 6m
- Controlling Test Execution Lifecycle 5m
- Controlling Test Class Instantiation 4m
- Running Additional Code Before and After Test Cases 5m
- Running Additional Code Before and After Test Fixtures 3m
- Running Additional Code Before and After Each Test Class 2m
- Test Class Instantiation Modes and Additional Code 3m
- Skipping Tests 6m
- Summary 2m
Data Driven Tests Using Custom Conventions
34mins