Test Driven Development (TDD) using Embedded C/C++

Course:   TDDEC
Duration:   3 Days
Level:   I
On our website at:   http://www.verhoef-training.com/courses/TDDEC.html
 
Course Summary

TDD is a modern programming practice that all C/C++ developers need to know. It?s a different way to program ? unit tests are written in a tight feedback loop with the production code providing ongoing valuable feedback to find mistakes before they become bugs and receive early warnings of design problems and notification of side-effect defects thus leaving more time adding valuable features to the product.

This hands-on course provides invaluable insight for creating successful test-driven development processes. Using embedded C/C++ examples, the course walks through the TDD methodology and shows how it is applied to a real-world application by following the code and tests as they evolve.

Topics Covered In This Course

Test Driven Development

  • Why Do We Need TDD?
  • What Is Test-Driven Development?
  • Physics of TDD?
  • The TDD Microcycle?
  • TDD Benefits?
  • Benefits for Embedded

Getting Started

  • Test Driving Tools and Conventions
  • Starting a C Module
  • Testing Your Way to Done
  • Embedded TDD Strategy
  • Yeah but?

Testing Modules with Collaborators

  • Introducing Test Doubles
  • Spying on the Production Code
  • Runtime-Bound Test Doubles
  • The Mock Object

Design and Continuous Improvement

  • SOLID, Flexible, and Testable Designs
  • Refactoring
  • Adding Tests to Legacy Code
  • Test Patterns and Antipatterns
  • Closing Thoughts
What You Can Expect

In this course, you will learn about?

Who Should Take This Course

Software developers, team leads, project and program managers.

Recommended Prerequisites

Principal understanding of embedded C/C++ and object-oriented concepts.

Training Style

Instructor led with lecture, discussion and hands-on exercises.

Related Courses
Code Course Title Duration Level
WST1
Web Software Testing
3 Days
I
Details
STCDEV
Software Testing Considerations for Developers
2 Days
I
Details
STQA
Software Testing and Quality Assurance Techniques
3 Days
I
Details
STBC1
Software Testing Bootcamp - Part 1
2 Days
I
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.