This code is used in an exercise on the module CS31310 Agile Methodologies. This repository contains code that can be run from the command line or used within tools such as the following:
- Eclipse - Avilable on macOS and Windows
- IntelliJ - Available on Linux, macOS and Windows
- Netbeans - Available on Linux, macOS and Windows
The code is located in the Agile_Refactoring_Maven/Refactoring_AberMovies. That folder can be loaded into your preferred IDE. It is setup to run as a Maven project. The pom.xml file is the Maven file that includes details of building.
If you prefer to work at the command line, you will need to download JUnit.
Example code is included to show the result of following the refactorings as part of this exercise.
The code in this repository is an evolution of the example for Movie Rentals in Chapter 1 of the Refactoring book by Martin Fowler. Some of the Java syntax has been updated and tests have been added. Further, the example has been changed from just rentals to allow purchases too, aiming to represent an online store. The concept of High Definition and Standard Definition movies has also been included.