Skip to content

ibm-developer-skills-network/xgcyk-tdd-bdd-final-project-template

Repository files navigation

TDD / BDD Final Project Template

This repository contains the template to be used for the Final Project for the Coursera course Introduction to TDD/BDD.

Usage

This repository is to be used as a template to create your own repository in your own GitHub account. No need to Fork it as it has been set up as a Template. This will avoid confusion when making Pull Requests in the future.

From the GitHub Code page, press the green Use this template button to create your own repository from this template.

Name your repo: tdd-bdd-final-project.

Setup

After entering the lab environment you will need to run the setup.sh script in the ./bin folder to install the prerequisite software.

bash bin/setup.sh

Then you must exit the shell and start a new one for the Python virtual environment to be activated.

exit

Tasks

In this project you will use good Test Driven Development (TDD) and Behavior Driven Development (BDD) techniques to write TDD test cases, BDD scenarios, and code, updating the following files:

tests/test_models.py
tests/test_routes.py
service/routes.py
features/products.feature
features/steps/load_steps.py

You will be given partial implementations in each of these files to get you started. Use those implementations as examples of the code you should write.

License

Licensed under the Apache License. See LICENSE

Author

John Rofrano, Senior Technical Staff Member, DevOps Champion, @ IBM Research

© IBM Corporation 2023. All rights reserved.