Getting Started
  • About the Course
  • Download Source Code and Slides
  • BONUS
  • Outline
  • What is a Unit Test?
  • Unit-Testing Frameworks
  • First Unit Test
  • Naming Conventions
  • Running and Debugging Tests in Visual Studio
  • Benefits of Unit Testing
  • Who should write unit tests and When?
  • Programmer's Oath
  • Exercise: Degree Converter
  • Solution: Degree Converter
  • Conclusion
NUnit Framework
  • Outline
  • Assert. Introduction
  • Assert. Demo
  • Arrange-Act-Assert (AAA)
  • Running a Test from the Console
  • SetUp and TearDown
  • SetUp and TearDown on Higher Levels
  • Parameterized Tests
  • Grouping and Ignoring
  • Code Coverage
  • Exercise: FizzBuzz
  • Solution: FizzBuzz
  • Exercise: Roman Numerals
  • Solution: Roman Numerals
  • Exercise: Stack
  • Solution: Stack
  • Conclusion
  • BONUS-Video