YoVDO

Unit Testing in C# Course (How To)

Offered By: Treehouse

Tags

C# Courses Software Development Courses Unit Testing Courses Test-Driven Development Courses Code Coverage Courses

Course Description

Overview

Unit testing is key to ensuring that your code works as expected. Learn how to write unit tests and perform test driven development using industry standard tools and methods.

What you'll learn

  • Unit Testing
  • Test Driven Development
  • xUnit.net

Syllabus

Unit Testing

Unit testing is key to creating quality software.

Chevron 8 steps
  • What is Unit Testing?

    2:20

  • What Is Unit Testing?

    3 questions

  • Unit Testing vs Functional Testing

    2:55

  • Why Unit Test?

    3:38

  • Why Unit Test?

    5 questions

  • Review Treehouse Defense

    1:33

  • xUnit.net Unit Test Framework

    2:47

  • Unit Test Frameworks

    4 questions

Writing Unit Tests

Use xUnit to write unit tests.

Chevron 8 steps
  • Our First Test

    6:31

  • First Test

    1 objective

  • Running Tests

    4:19

  • Test Cases

    4:26

  • Testing for Exceptions

    3:21

  • Testing Exceptions

    1 objective

  • Debugging Tests

    2:40

  • Test Cases

    4 questions

Test Driven Development

Use unit tests to help write code with TDD.

Chevron 9 steps
  • What is Test Driven Development?

    4:42

  • TDD

    2 questions

  • Red

    11:01

  • Green

    5:25

  • Refactor

    4:06

  • TDD

    4 objectives

  • TDD Workflow

    6:06

  • TDD Workflow - Continuous Integration

    2:54

  • TDD

    6 questions

What To Test

It's important to know what and how much to test.

Chevron 7 steps
  • Isolation Testing

    12:34

  • How Much To Test

    2:46

  • Code Coverage

    3:46

  • Code Coverage

    3 questions

  • Other Types of Testing

    4:35

  • Wrap-up

    1:17

  • Wrap Up

    3 questions


Related Courses

Software as a Service
University of California, Berkeley via Coursera
Software Testing
University of Utah via Udacity
The Hardware/Software Interface
University of Washington via Coursera
Software Debugging
Saarland University via Udacity
Introduction to Systematic Program Design - Part 1
The University of British Columbia via Coursera