Skip to content

Software engineering project at University of Canterbury: BDD/TDD app for WoF appointment registration of vehicles & owners, focusing on user-story acceptance testing. Grade corrected by 5+ GPA points following querying irrelevant ambiguous feedback. Followed by my advanced software testing exam mark counting corrected from just pass to distinction

Notifications You must be signed in to change notification settings

University-Project-Repos/VehicleRegistration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SENG301 Vehicle WoF Assignment

Behaviour-driven developed (BDD) CLI and GUI application for registering vehicles and owners for Vehicle Testing New Zealand (VTNZ) Warrant of Fitness (WoF) test appointments.

Developed with a local SQLite database in limited time for infinite good reasons. GUI is included later when migrating from Java 8 to 16 given automated user-story acceptance testing with Cucumber and Gherkin is being assessed, with all test cases passing.

gui

A user of the vehicle WoF registration app can:

  • register, login, logout, edit and remove a user account
  • register, edit, and remove their vehicle(s) from a user account
  • edit history for a vehicle registration

There are two existing vehicle owner registrations in the DB sample:

email: one@test.com
password: one
email: two@test.com
password: two

Instructions

Requirements

  • Java 16
  • Maven

Test

Navigate to VehicleRegistration/ containing the pom.xml file, then execute in a terminal:

Acceptance testing:

Run 35 acceptance tests by executing:

mvn clean -Dtest=GenericTestRunner test
Junit testing:

Run 61 unit tests by executing:

mvn clean test

Build

To package to a .jar file, navigate to VehicleRegistration/ containing the pom.xml file and execute:

mvn clean compile assembly:single

Following a successful maven build of the project, move WoF-1.0-jar-with-dependencies.jar to the VehicleRegistration/ root directory, so it is with the DB files.

Run

CLI
java -jar WoF-1.0-jar-with-dependencies.jar
GUI
java -jar WoF-1.0-jar-with-dependencies.jar gui

About

Software engineering project at University of Canterbury: BDD/TDD app for WoF appointment registration of vehicles & owners, focusing on user-story acceptance testing. Grade corrected by 5+ GPA points following querying irrelevant ambiguous feedback. Followed by my advanced software testing exam mark counting corrected from just pass to distinction

Topics

Resources

Stars

Watchers

Forks