Test-driven development (TDD) is a powerful strategy for building reliable, maintainable, and high-quality applications in today’s fast-paced software industry. This course introduces the essential skills required to apply TDD within Angular, helping developers craft resilient code through structured testing techniques.
即将结束: 只需 199 美元(原价 399 美元)即可通过 Coursera Plus 学习新技能。立即节省

您将学到什么
Explore the fundamentals of test-driven development in Angular
Set up and use testing tools like Jasmine and Karma for unit testing
Implement end-to-end testing using Protractor, Cypress, and Playwright
您将获得的技能
要了解的详细信息

添加到您的领英档案
January 2026
11 项作业
了解顶级公司的员工如何掌握热门技能

该课程共有11个模块
In this section, we introduce TDD in Angular, covering environment setup, test file creation, and best practices to improve code quality and maintainability.
涵盖的内容
2个视频2篇阅读材料1个作业
In this section, we explore using Jasmine and Karma to test Angular applications. Key concepts include writing unit tests, configuring cross-browser testing, and analyzing code coverage for improved reliability.
涵盖的内容
1个视频3篇阅读材料1个作业
In this section, we explore writing unit tests for Angular components, services, and directives. Key concepts include test environments, lifecycle hooks, and DOM interactions for reliable application functionality.
涵盖的内容
1个视频2篇阅读材料1个作业
In this section, we explore mocking and stubbing dependencies in Angular tests. Techniques include using spies, TestBed providers, and async utilities to control and test component behavior effectively.
涵盖的内容
1个视频3篇阅读材料1个作业
In this section, we explore testing Angular pipes, forms, and reactive programming. Key concepts include data formatting, test-driven development, and form validation for reliable application behavior.
涵盖的内容
1个视频3篇阅读材料1个作业
In this section, we examine end-to-end (E2E) testing principles, its benefits in software development, and compare Protractor, Cypress, and Playwright tools for effective testing strategies.
涵盖的内容
1个视频3篇阅读材料1个作业
In this section, we cover Cypress integration in Angular for E2E testing, including setup and writing component tests.
涵盖的内容
1个视频1篇阅读材料1个作业
In this section, we explore writing E2E tests for a calculator using Cypress, focusing on test structure, handling number types, and leveraging custom commands for efficiency.
涵盖的内容
1个视频7篇阅读材料1个作业
In this section, we explore CI/CD practices, focusing on automating testing and deployment workflows with GitHub Actions to enhance software development efficiency and reliability.
涵盖的内容
1个视频5篇阅读材料1个作业
In this section, we explore TDD best practices for Angular, focusing on testable components, iterative development, and selecting optimal testing patterns for maintainable code.
涵盖的内容
1个视频1篇阅读材料1个作业
In this section, we explore TDD for Angular refactoring, focusing on identifying code smells and applying the red-green-refactor cycle for continuous improvement.
涵盖的内容
1个视频3篇阅读材料1个作业
位教师

提供方
人们为什么选择 Coursera 来帮助自己实现职业发展




常见问题
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
更多问题
提供助学金,





