Git Product home page Git Product logo

qbasic-327's Introduction

qbasic-327

Build Status

Build Status

About

A (horribly designed) bank/transaction management software used as an educational exercise in CISC 327 (Software Quality Assurance) at Queen's University

Prerequisites

  • UNIX like operating system. I have tested on Mac OS X only, but Linux or Bash on windows 10 should theoretically work
  • A version of Python 2.7
  • PIP packages installed. Use the following command from this directory: pip install -r requirements.txt

Running the Front End

Change to the src/frontend directory, and run main.py. The following command line options are available:

  • -v </path/to/file.txt> - Allows the specification of a custom valid accounts file to use as input. Otherwise, the frontend will look in its directory for validAccounts.txt
  • -o </path/to/output> - Allows the specification of a custom output directory for the transaction summary files. Otherwise, the frontend will create an out folder in its directory and place the transaction summary files there.

Running the Back End

Change to the src/backend directory, and run main.py. The following command line options are REQUIRED:

  • -a </path/to/file.txt> - Path to the input master accounts file from the previous day of transactions
  • -t </path/to/file.txt> - Path to the merged transaction summary file from the previous day of transactions

The following command line options are OPTIONAL:

  • -v </path/to/file.txt> - Allows the specification of a custom location for writing the new valid accounts file. Otherwise, the new valid accounts file will be written to validaccounts.txt in the script directory
  • -o </path/to/file.txt> - Allows the specification of a custom loation for writing the new master accounts file. Otherwise, the new master accounts file will be written to accountsfile.txt in the script directory

Running the integration script

Change to src/integration directory, and run qbasicIntegration.sh. No command line options are required.

It is recommended to redirect or tee the output from this script to a file for reading, as a massive amount of text will be written to standard output.

Post script cleanup/reset is handled by refresh.sh

Running the automated testing

Change to test directory, and run run_test.sh. This script will run pytest with the required options and produce a report for viewing. The report will be opened in less by default after it is created.

qbasic-327's People

Contributors

clarafu avatar mitchellwaite avatar

Watchers

 avatar  avatar

Forkers

clarafu 12pm30

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.