Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Institution Logo

A Practical Introduction to Test-Driven Development

LearnQuest via Coursera

Overview

To be a proficient developer you need to have a solid grasp of test writing before putting code into production. In this course, we will take a hands-on look at Test-Driven Development by writing and implementing tests as soon as week one. TDD starts with good unit tests, so we will start there. Topics will also cover translating user specs into unit tests, applying the Red-Green-Refactor mantra, and applying mocks in python with the unittest.mock module. Once finished, you will have covered all the steps of TDD before development

Syllabus

  • Automated Unit Testing Basics
    • Test-Driven Development starts with testing, and good TDD starts with good unit tests.
  • Unit Testing best practices
    • In this module we will discover the best practices for writing unit tests.
  • Writing Tests for TDD
    • In this module, we'll be translating user specs into unit tests, including all the steps of TDD before development.
  • The Red-Green-Refactor cycle in practice
    • In this module we'll discover a hands on approach to applying the Red-Green-Refactor mantra of unit testing.
  • The power of mocks
    • In this module we'll learn how to use mocks in python with the unittest.mock module.

Taught by

Doug Purcell

Related Courses

Reviews

0.0 rating, based on 0 reviews

Start your review of A Practical Introduction to Test-Driven Development

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free