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
- Host: GitHub
- URL: https://github.com/justinasmith/tdd-cse_4283-software_qa
- Owner: JustinASmith
- License: mit
- Created: 2021-02-27T02:24:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T21:38:19.000Z (over 3 years ago)
- Last Synced: 2026-04-12T06:28:44.413Z (3 months ago)
- Topics: bmi-calculator, github-actions, jest, retirement-calculator, tailwindcss, test-driven-development, unit-testing
- Language: JavaScript
- Homepage: https://tdd-cse-4283-production.web.app
- Size: 3.53 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TDD - Software Testing QA - CSE 4283 Spring 2021
# 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