/CS4472-Asn1

Repo for CS4472 Group Assignment 1. More to come.

Primary LanguageJava

CS 4472A -- Software Specification, Testing, and Quality Assurance

Repo for CS4472 Group Assignment 1. More to come.

The Testing Targets You will perform black box testing on the following classes

atm.Session.java: The focus here is to check for PIN format and valid amount chosen for a withdrawal transaction (transaction choice 1) as per the business logic presented above for ATM Session. The technique to use for this test is Robust Worst Case Boundary Value Analysis under the single fault assumption principle. In the program provided a withdrawal is limited to the available balance of the account and the daily limit.

For this assignment, you must create an account with:

  • a daily limit of $1000 and an available balance of $5,000.
  • The daily limit of $1000 is your upper boundary in this case.

A valid pin format is defined as having 5 digits. And a valid withdrawl is defined as a sufficient amount of money already present within the account that is a factor of 20 or 50

bank.FeesCalculator.java: The focus here is to check for the correct calculation of fees while performing withdrawal, deposit, and transfer.

  • For withdrawal: Use Robust Worst Case Boundary Value Analysis to generate your test cases.
  • For deposit: Use Weak Robust Equivalence Class Analysis to generate your test cases.
  • For transfer: Use Decision Table Analysis to generate your test cases.