An open API service indexing awesome lists of open source software.

https://github.com/justinasmith/tdd-cse_4283-software_qa

Apply test-driven development (TDD) to implement a set of software requirements. Software Testing and Quality Assurance - CSE 4283, Mississippi State University - Spring 2021
https://github.com/justinasmith/tdd-cse_4283-software_qa

bmi-calculator github-actions jest retirement-calculator tailwindcss test-driven-development unit-testing

Last synced: 3 months ago
JSON representation

Apply test-driven development (TDD) to implement a set of software requirements. Software Testing and Quality Assurance - CSE 4283, Mississippi State University - Spring 2021

Awesome Lists containing this project

README

          


TDD - Software Testing QA - CSE 4283 Spring 2021



Node Continuous Integration Passing


Firebase Continuous Deployment Passing

Coverage Status

Time Tracking


Screen Shot 2021-03-01 at 2 20 40 PM
Screen Shot 2021-03-01 at 2 20 50 PM

# Objective

Apply test-driven development (TDD) to implement a set of software requirements for Software Testing and Quality Assurance - CSE 4283, Mississippi State University - Spring 2021

Write unit tests to provide adequate coverage of a code-base using chosen unit testing framework and test runner.

# Requirements

Develop a CLI or GUI app that prompts the user to select a function to execute and allows the user to gracefully exit the app when desired.

The menu should be displayed after each function (if app is CLI) unless the user exits. For now, the app must have the following functionalities:

1. **Body Mass Index -** Input height in feet and inches. Input weight in pounds.
Return BMI value and category:
- \*If BMI falls below **18.5\***, it falls within the underweight range.
- \*If BMI is between **18.5 to 24.9\***, it falls within the normal or Healthy Weight range.
- \*If BMI is **25.0 to 29.9\***, it falls within the overweight range.
- \*If BMI is **30.0 or higher\***, it falls within the obese range.
2. **Retirement** - Input user's current age, annual salary, percent saved (employer matches 35% of savings). Input desired retirement savings goal. Output what age savings goal will be met. You can assume death at 100 years (therefor, indicate if the savings goal is not met).

# Notes & Resources

- BMI Formula - http://extoxnet.orst.edu/faqs/dietcancer/web2/twohowto.html
- **Remember**, unit tests serve as documentation - your tests should indicate the features of the program