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
This course is part of Test-Driven Development Specialization
Instructor: Doug Purcell
Sponsored by BrightStar Care
2,050 already enrolled
(28 reviews)
Recommended experience
Skills you'll gain
Details to know
Add to your LinkedIn profile
8 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
There are 5 modules in this course
Test-Driven Development starts with testing, and good TDD starts with good unit tests.
What's included
3 videos1 reading1 assignment1 ungraded lab
In this module we will discover the best practices for writing unit tests.
What's included
2 videos1 reading2 assignments1 ungraded lab
In this module, we'll be translating user specs into unit tests, including all the steps of TDD before development.
What's included
4 videos3 readings1 assignment1 discussion prompt1 ungraded lab
In this module we'll discover a hands on approach to applying the Red-Green-Refactor mantra of unit testing.
What's included
1 video1 reading2 assignments1 discussion prompt1 ungraded lab
In this module we'll learn how to use mocks in python with the unittest.mock module.
What's included
3 videos2 readings2 assignments3 discussion prompts1 ungraded lab
Instructor
Offered by
Why people choose Coursera for their career
Recommended if you're interested in Computer Science
Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy