- Level Professional
- المدة
-
Offered by
عن
Successful developers need to not only build the right software but build it right. To know your software works correctly, you need to test each unit of code. One of the best methods for this unit-level testing is test driven development. This course provides a detailed overview of test driven development (TDD). First, you’ll learn what automated testing is and why it is essential for building robust applications resilient to failure. You’ll explore the basics of testing, including test cases, testing levels, and the traditional release cycle. You’ll learn about TDD and its complement, behavior driven development (BDD): TDD tests individual units of code while BDD tests how these units work together. Then you’ll examine TDD in detail. You’ll explore TDD’s benefits, concepts, and popular tools, and you’ll hone your new testing skills through hands-on labs. You’ll create TDD test cases by writing test assertions and building test fixtures, and you’ll run these test cases by using the Nose testing package. You’ll then practice more advanced TDD methods such as increasing code coverage, generating and using fake data, and testing mock objects.الوحدات
Welcome to the Course
1
Videos
- Course Introduction
2
Readings
- Course Outline
- How to Make the Most of this Course
Introduction to Testing
1
Assignment
- Practice Quiz: Introduction to Testing
5
Videos
- The Importance of Testing
- Why Developers Don’t Test
- Testing Levels and Release Cycle
- TDD and BDD
- Testing Case Study
Module Assessment
1
Assignment
- Graded Quiz: Introduction to Testing
1
Readings
- Module Summary: Introduction to Testing
Basics of Test Driven Development
1
Assignment
- Practice Quiz: Introduction to Test Driven Development
2
Videos
- Benefits of Test Driven Development
- Tools for TDD
1
Readings
- Summary & Highlights
Methods for Test Driven Development
1
Assignment
- Practice Quiz: Test Driven Development
3
External Tool
- Hands-on Lab: Running Tests with Nose
- Writing Test Assertions
- Creating an Initial State Using Test Fixtures
7
Videos
- Running Tests with Nose
- Running Tests with Nose Demo
- Anatomy of a Test Case
- Writing Test Assertions
- Writing Test Assertions Demo
- Test Fixtures
- Creating an Initial State Using Test Fixtures Demo
Module Assessment
1
Assignment
- Graded Quiz: Test Driven Development
1
Readings
- Module Summary: Test Driven Development
Advanced Methods for Test Driven Development
1
Assignment
- Practice Quiz: Advanced Methods for Test Driven Development
4
External Tool
- Running Test Cases with Coverage
- Using Factories and Fakes
- Mocking Objects
- Hands-On Lab: Practicing Test Driven Development
10
Videos
- Test Coverage
- Running Test Cases with Coverage Demo
- Factories and Fakes
- Factories and Fakes Demo
- Mocking
- Mocking with Patch
- Mocking with Mock Objects
- Mocking with Mock Objects Demo
- Practicing Test Driven Development
- Practicing Test Driven Development Demo
Module Assessment
1
Assignment
- Graded Quiz: Advanced Methods for Test Driven Development
1
Readings
- Module Summary: Advanced Methods for Test Driven Development
Introduction to Behavior Driven Development
1
Assignment
- Practice Quiz: Introduction to Behavior Driven Development
5
Videos
- What is Behavior Driven Development?
- Benefits of BDD
- BDD Workflow and Gherkin Syntax
- Example of BDD
- Tools for Behavior Driven Development
Methods for Behavior Driven Development
1
Assignment
- Practice Quiz: Methods for Behavior Driven Development
3
External Tool
- Hands-on Lab: Setting up an Environment in Behave
- Hands-on Lab: Writing Feature Files
- Hands-on Lab: Loading Test Data with Behave
6
Videos
- Overview of Behave
- Environment Setup
- Writing Feature Files
- Selenium
- Writing Step Files
- Loading Test Data with Behave
Module Assessment
1
Assignment
- Graded Quiz: Behavior Driven Development
1
Readings
- Module 4 Summary: Behavior Driven Development
Running Behave
1
Assignment
- Practice Quiz: Running Behave for Behavior Driven Development
3
External Tool
- Hands-on Lab: Generating Steps with Behave
- Hands-on Lab: Implementing Your First Steps
- Hands-on Lab: Using Variable Substitution
4
Videos
- Generating Steps with Behave
- Implementing Your First Steps
- Working with Context
- Using Variable Substitution
Module Assessment
1
Assignment
- Graded Quiz: Running Behave for Behavior Driven Development
1
Readings
- Module 5 Summary: Running Behave for Behavior Driven Development
Final Project
1
External Tool
- Lab Environment and Starter Code
1
Peer Review
- Peer-Assignment: Peer Graded Final Assignment
2
Readings
- Reading: Final Project Overview
- Check list: Final Project
Final Exam
1
Assignment
- Final Exam
Course Wrap-Up
3
Readings
- Course Summary
- Congratulations & Next Steps
- Thanks from the Course Team
Auto Summary
"Introduction to Test Driven Development (TDD)" is a professional course in IT & Computer Science, taught by experts at Coursera. It focuses on the essential practice of unit-level testing to ensure software correctness. The course is suitable for professional developers and offers flexible subscription options, including Starter and Professional plans.