Skip to content

polytechnice-si/3A_GL_KataPotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harry Potter Kata

Contents

This repository contains the following material:

  • slides.pdf: presentation(~40 minutes) used to present this Kata to undergrad students in software engineering (some slides are in French).
  • kata: the business code of the Harry Potter Kata
    • raw package: original solution found on the internet
    • oo package: object-oriented version
  • benchmark: benchmark to measure the differences (w.r.t. performances) between the initial and the object-oriented versions of the code.
  • Each version comes with an associated test suite

Specifications

  • We consider the five firsts books fo the Harry Potter series.
  • Each book costs 8 €
  • Discount policies based on the number of different books to purchase: - 2 different books: 5% - 3 different books: 10% - 4 different books: 20% - The whole series: 25%
  • The discount is eventually applied only on the relevant books

Compiling and Running the System

The code is shipped as a multi-module maven project. The root project contains two modules: kata and benchmark (and benchmark references kata). To install the project, simply ask maven to do so:

mosser@azrael potter$ mvn install 	

To run the benchmark (it takes around 40 minutes):

mosser@azrael potter$ java -jar benchmark/target/benchmarks.jar    

About

An Object-oriented implementation of the KataPotter example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages