STUDENT NAME = Anders Morille
STUDENT ID = 111708
This project is a portfolio project for the course IDATT1003 - Programming 1 at NTNU. The project is a Java application that can be used to manage a collection of train departures. The application can be used to add, remove, edit and view train departures.
The project is divided into a set of packages, each with a specific purpose. The packages are as follows:
- commands: Contains the classes that implement the commands that can be executed by the application.
- input: Contains the classes that handle the input from the user.
- models: Contains the classes that represent the data that is stored
- utils: Contains utility classes that are used by the application.
- TrainDispatchApp: Contains the main class of the application.
https://github.com/lille-morille/IDATT1003-2023-Mappe-TrainDispatchSystem
To run this project, simply run the main method in the TrainDispatchApp class. The main method will start the application and display a menu in the terminal. The user can then enter a command to execute, either by name, or index that you see on the left hand side. This menu will be displayed after each command execution. To exit the application, enter the command exit
or 8
.
- Enter the command
mvn clean test
in the terminal to run all unit tests for the project. Make sure you are in the root directory in the terminal when doing this. - Or if you're using IntelliJ IDEA, select "Test Project" from the run configurations