Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Embedded C++ Test-Driven Development
Introduction
Welcome(Same as Promo) (2:23)
Foundations of Test-Driven Development in an Embedded Context
The 'Why' of Test-Driven Development(TDD) In Embedded Systems (1:59)
The TDD Solution: A Paradigm Shift in Quality (2:45)
The TDD Mantra: Red-Green-Refactor (1:32)
Setting Up
Downloading CubeIDE (2:34)
Installing CubeIDE (2:38)
Getting the required documentation (7:41)
Getting the required package for bare-metal development (21:19)
Testing the project setup (15:54)
Source Code Download
Developing some System Drivers for Implementing Real World Examples
Programming : Enabling the Floating Point Unit (FPU) (18:00)
Programming : Developing a UART Driver - Analyzing the Documentation (11:35)
Programming : Developing a UART Driver - Listing out the steps (4:00)
Programming : Developing a UART Driver - Implementing the Initialization function (22:13)
Programming : Developing a UART Driver - Implementing the Write function (5:39)
Programming : Developing a UART Driver - Testing the Driver (6:39)
Programming : Developing the System Timebase - Analyzing the Documentation (8:28)
Programming : Developing the System Timebase - Implementing the Init. function (9:52)
Programming : Developing the System Timebase - The rest of the functions (12:15)
Programming : Developing the System Timebase - Testing the Timebase (5:34)
Programming : Developing a BSP for the Dev Board - Required functions (7:55)
Programming : Developing a BSP for the Dev Board - The LED Driver (5:01)
Programming : Developing a BSP for the Dev Board - The Button Driver (4:00)
Programming : Developing a BSP for the Dev Board - Testing the BSP (3:35)
Programming : Developing an ADC Driver - Analyzing the Documentation (5:21)
Programming : Developing an ADC Driver - Listing out the steps. (5:27)
Programming : Developing an ADC Driver - The Initialization function (13:21)
Programming : Developing an ADC Driver - The Read function (14:05)
Anatomy of a TDD Project
Testing Frameworks: Unity & CMock (1:34)
The Anatomy of a TDD Project (2:54)
Configuring the TDD Tools
Programming: Configuring a GCC Compiler on the Host Computer (3:26)
Programming: Configuring 'Make' for Automating the Build Process (2:54)
Programming: Setting Up Unity and a Host GCC Compiler (3:35)
Developing Your First TDD Project
Programming: Writing Your First Unity Test (4:10)
Programming: Writing the Runner for Test (4:41)
Programming: Implementing the TDD Folder Structure (5:13)
Developing the Makefile for Host-Based TDD
Programming: Listing the Steps (3:09)
Programming: Assigning the Compiler and Flags (4:30)
Programming: Finding all Source Files in Relevant Directories (4:18)
Programming: Creating the List of Object Files (4:11)
Programming: Declaring the Executable Name and 'PHONY' Targets (2:53)
Programming: Writing the Rule to Link the Final Executable (3:42)
Programming: Writing the Rule to Compile C Files to Object Files (4:03)
Programming: Testing the TDD Project (4:57)
The TDD Cycle in Practice
Overview of the Complete TDD Cycle (4:21)
The 'FIRST' Principle of Good Unit Tests (1:52)
Test Naming Conventions and Structure (1:54)
Understanding the Essential Unity Assertions (1:11)
Decoupling from Hardware: Mocking and Stubbing
The Solution: The "Test Double" (1:01)
A Taxonomy of Test Doubles (2:01)
Introduction to CMock (1:45)
The Three Acts of a Mock-Based Test (1:27)
Why Direct Hardware Interraction is Bad for Unit Tests (1:26)
Programming : Developing a BSP for the Dev Board - The Button Driver
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock