Skip to content

Test Driven Development (TDD) approach demonstration

Notifications You must be signed in to change notification settings

cyberalexander/waiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The application is aimed to demonstrate Test Driven Development technique in Action. First the unit tests RestaurantTest.java were implemented and then the actual business logic was written in order to pass the tests.

The application represents basic algorithm of waiter's job:

  1. The table registered with the amount of actual clients/customers (see Restaurant#initTable)
  2. Then the application (waiter) noting the orders for each customer one by one (see Restaurant#customerSays)
  3. Then when all the orders are made, waiter creating final oder for the whole table (see Restaurant#createOrder)

Getting started

$ mvn -U test

Tech stack:

  • Java 17
  • Maven
  • JUnit 4

About

Test Driven Development (TDD) approach demonstration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages