This course provides a comprehensive understanding of test-driven development (TDD), a formal process that allows you to build testing into your daily routine. It emphasizes the importance of running tests many times a day, providing instant feedback on the quality of your code. The course covers what makes a good test, the importance of failure over success, and how to measure and repeatedly run tests. It also explores the jargon of TDD, including test suites, test harnesses, mock and stub objects, and more. Additionally, the course provides insights into how TDD is used in common programming languages and environments, and the tools and frameworks that exist to help you succeed. The course ultimately emphasizes the time and cost savings that a good TDD workflow can provide.
This course provides a comprehensive understanding of test-driven development (TDD), a formal process that allows you to build testing into your daily routine. It emphasizes the importance of running tests many times a day, providing instant feedback on the quality of your code. The course covers what makes a good test, the importance of failure over success, and how to measure and repeatedly run tests. It also explores the jargon of TDD, including test suites, test harnesses, mock and stub objects, and more. Additionally, the course provides insights into how TDD is used in common programming languages and environments, and the tools and frameworks that exist to help you succeed. The course ultimately emphasizes the time and cost savings that a good TDD workflow can provide.
Learning Objectives
Understanding the concept of test-driven development (TDD) and its role in Agile
Learning about xUnit and JUnit frameworks
Writing effective test cases
Navigating the iterative red-green-refactor cycle in TDD
Refactoring to improve the design of the code
Understanding the structure of tests and the use of assertions