Skip to content

Bezik1/Cash-Register-TDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cash Register Nokia PARO

This project implements cash register model simulation, based on TDD approach. It was created, using the following template PARO Course Template.

Test Driven Development [TDD]

It's the software development strategy. It consists of three parts:

  • Red Phase: First, we implement interfaces and tests for our system. We do this without the knowledge, of how it will be implemented.

  • Green Phase: In this phase we need to repair all test errors, with the minimal effort. The main goal of this phase is to create actual software that passes tests.

  • Refactor Phase: In the last phase we refactor either tests or code. It is important to refactor only one at a time, so that there would not be any conflicts. The goal is to optimize our solution.

Commands

# Clones repository.
git clone https://github.com/Bezik1/Cash-Register-TDD CashRegister

# Builds build directory.
mkdir build && cd build

# Build project.
cmake -s CashRegister/workspace -b build It will generate Makefile by default, use -G"Ninja" to get ninja scripts instead.

# First build.
cmake ../workspace

# Build and run tests.
make run_tests

# Creates identifier [MacOS].
echo -n "test" | shasum -a 256

Technologies

About

Cash register simulation written in Test Driven Development TDD model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors