Programming Foundations: Test-Driven Development

Programming Foundations: Test-Driven Development
Programming Foundations: Test-Driven Development
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 41m | 471 MB

Programmers shouldn’t have to guess whether software is working correctly. They should be able to prove it, every step of the way. A formal test-driven development (TDD) process allows you to build testing into your daily routine. You can run tests many times a day, getting instant feedback on the quality of your code. This course explains how to adopt a TDD mindset and process—vital skills for all modern software developers. Find out what makes a good test, why you should be more interested in failure than success, and how to measure and repeatedly run tests. Then explore the jargon: test suites, test harnesses, mock and stub objects, and more. Finally, look at how TDD is used in the most common programming languages and environments and what tools and frameworks exist to help you succeed. Instructor Neelam Dwivedi tackles each topic from a programmer’s perspective, emphasizing the time and cost savings that a good TDD workflow can provide.

Topics include:

  • What is test-driven development?
  • Writing test cases
  • TDD methodology
  • Refactoring
  • Test structure and syntax
  • TDD tools and frameworks
  • Mocking
Table of Contents

1 Small steps to great things
2 What you should know
3 What is test-driven development (TDD)
4 xUnit and JUnit
5 Writing test cases
6 TDD and agile
7 Where to start
8 The iterative red-green-refactor cycle
9 Refactor to improve the design
10 ✓ Challenge Functionality
11 ✓ Solution Functionality
12 Test structure
13 Assertions
14 Testing exceptions
15 ✓ Challenge Performance
16 ✓ Solution Performance
17 TDD tools and frameworks
18 Assertion frameworks
19 Test doubles
20 Mocking
21 ✓ Challenge Database
22 ✓ Solution Database
23 Next steps