TDD

Lecture 3 Test Driven Development

Introduction to TDD

Lecture 3 Test Driven Development and Design

Slides Links and Resources https://www.ibm.com/garage/method/practices/code/practice_test_driven_development/

Lecture 4 Modern Python

Slides Links and Resources

Lecture 4 Testing and TDD

Using Unit tests in python

Lecture 5 Test Driven Development

This lecture will demonstrate the use of Test Driven development and design in python

Lecture 8

Slides Self Study

Lecture 9

Slides Self Study

Lab 2 Test Driven Development

Aims The aim of this lab is to introduce the process of TDD and develop some simple tests. Multi File Build and Project Setup Build Tools (cmake and make test) Using gtest and git Test Driven Design of a Simple RGBA structure Getting Started To start this project we are going to build a typical software project setup. By creating the following folders

Lab 2 Test Driven Development

Aims The aim of this lab is to introduce the process of TDD and develop some simple tests. Multi File Build and Project Setup Build Tools (cmake and make test) Using gtest and git Test Driven Design of a Simple RGBA structure Getting Started To start this project we are going to build a typical software project setup. By creating the following folders

Lab 3 Test Driven Development

Aims The aim of this lab is to introduce the process of test driven development (TDD) and develop some simple tests, we will use the following steps. Project Setup Test Setup Test Driven Design of a Simple RGBA class using Version control Storing Pixels It is common to store image pixel data using a single unsigned int32_t data type. In C/C++ this is quite simple, however in python these things are a little harder as we don’t have the same data types. For our example we are going to use a single integer value called pixel to store our RGBA values but we will need to encode them using some logic.