CISC327 project based on banking software.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Production
src
.gitignore
LICENSE
README.md

README.md

SimBank

CISC327 Software Quality Assurance - Course Project

Team Onk:

  • Kevin Chan (@kevinkid135)
  • Niki Lin (@1nl6)
  • Simon Zhang (@skhzhang)

Course project based on banking software not intended for actual use for anyone, but for practicing the building quality software using eXtreme Programming.

The software is built in Java with scripting done using bash.

For more details, see http://research.cs.queensu.ca/home/cordy/cisc327/index.html

Setup

Create the .jar executable and move/copy it to the Production/System/ folder. Then, use bash to execute ./dailyScript and/or ./weeklyScript.

This was tested using java version 1.7.0_111 on Bash.

Creating (and running) a .jar executable

Front End

Before we begin, make sure that the /frontEnd directory are in the current directory (ls returns the 'frontEnd' folder).

  1. Create the .class files from the .java files (.java -> .class)
javac frontEnd/*.java

This will compile the .java files.

  1. Create the .jar executable file from the .class files (.class -> .jar)
jar cfe SimBank-front.jar frontEnd.Onk frontEnd/*.class

This will create a file 'SimBank-front.jar' where 'frontEnd.Onk' is the main class using the .class files in the 'frontEnd' directory.

  1. Execute the .jar executable file

Make sure you are in a directory with the accounts list file and the transaction summary file.

java -jar SimBank-front.jar accountList.txt tranSum.txt

where 'accountList.txt' is the accounts list file, and 'tranSum.txt' is the transaction summary file

Back Office

Run the same commands as above, but for the /backEnd files.

  1. Create the .class files
javac backEnd/*.java
  1. Create the .jar executable file
jar cfe SimBank-back.jar backEnd.BackEnd backEnd/*.class
  1. Execute the .jar executable file

Make sure you are in a directory with the merged transaction summary file, the master accounts list file, and the valid accounts list file. Note that the changes to master accounts list will be written directly to file (file will be overwritten!).

java -jar SimBank-back.jar mergedTranSum.txt masterAccList.txt validAccList.txt

where 'mergedTranSum.txt' is the merged transaction summary file, 'masterAccList.txt' is the master accounts list file, and 'validAccList.txt' is the valid accounts list file