Coursera
Coursera Logo

A Practical Introduction to Test-Driven Development 

  • Offered byCoursera
  • Public/Government Institute

A Practical Introduction to Test-Driven Development
 at 
Coursera 
Overview

Duration

15 hours

Total fee

Free

Mode of learning

Online

Difficulty level

Intermediate

Official Website

Explore Free Course External Link Icon

Credential

Certificate

A Practical Introduction to Test-Driven Development
Table of contents
Accordion Icon V3

A Practical Introduction to Test-Driven Development
 at 
Coursera 
Highlights

  • Shareable Certificate Earn a Certificate upon completion
  • 100% online Start instantly and learn at your own schedule.
  • Course 2 of 4 in the Test-Driven Development Specialization
  • Flexible deadlines Reset deadlines in accordance to your schedule.
  • Intermediate Level Some python programming experience and is also recommended that you take the preceeding course in this specialization or have equivalent experience.
  • Approx. 15 hours to complete
  • English Subtitles: English
Read more
Details Icon

A Practical Introduction to Test-Driven Development
 at 
Coursera 
Course details

Skills you will learn
More about this course
  • 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

A Practical Introduction to Test-Driven Development
 at 
Coursera 
Curriculum

Automated Unit Testing Basics

Course Introduction

Unittest module introduction and demo

Module 1 Wrap Up

Unittest module resources

Optional unit test quiz

How to unit test badly

Module 2 Wrap Up

Unit testing best practices

Optional quiz

Module 1-2 Quiz

Writing Tests for TDD

Translating requirements to testable assertions

How unit tests supplement docs

Generating docs with Pylint

Module 3 Wrap Up

Breaking down complex requirements

Supplementing documentation

Clean Code and PEP 8

Optional, breaking down user requirements

Module 4 Wrap Up

A step-by-step example for Red-Green-Refactor

Optional Red-Green-Refactor Quiz

Red-Green-Refactor in Practice

The power of mocks

A High Level Overview of Mocks

Mocks in Action

Module 5 Wrap Up

Gaining Deeper Knowledge About Mock Objects

A look at unittests.mock

Optional Mock Objects Quiz

Module 3-5 Quiz

Other courses offered by Coursera

– / –
3 months
Beginner
– / –
20 hours
Beginner
– / –
2 months
Beginner
– / –
3 months
Beginner
View Other 6716 CoursesRight Arrow Icon
qna

A Practical Introduction to Test-Driven Development
 at 
Coursera 

Student Forum

chatAnything you would want to ask experts?
Write here...