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

https://github.com/stefruseva88/parking-cost-tests

Test automation project for Parking Cost Calculator JS application with Cypress and QUnit
https://github.com/stefruseva88/parking-cost-tests

automation boundary-value-analysis js manual-testing unit-testing

Last synced: about 2 months ago
JSON representation

Test automation project for Parking Cost Calculator JS application with Cypress and QUnit

Awesome Lists containing this project

README

        

# Parking Cost Calculator - Test Automation
[![JavaScript](https://img.shields.io/badge/Made%20with-JavaScript-F7DF1E.svg)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
[![QUnit](https://img.shields.io/badge/tested%20with-QUnit-9C4CB4.svg)](https://qunitjs.com/)
[![Cypress](https://img.shields.io/badge/tested%20with-Cypress-17202C.svg)](https://www.cypress.io/)
[![Google Chrome](https://img.shields.io/badge/tested%20on-Google%20Chrome-4285F4.svg)](https://www.google.com/chrome/)
[![Mozilla Firefox](https://img.shields.io/badge/tested%20on-Mozilla%20Firefox-FF7139.svg)](https://www.mozilla.org/firefox/)
[![Microsoft Edge](https://img.shields.io/badge/tested%20on-Microsoft%20Edge-0078D7.svg)](https://www.microsoft.com/edge)

## ๐Ÿ“‹ Overview
This repository contains the test automation project for [Parking Cost Calculator](https://shino.de/parkcalc/). The project aims to validate the accuracy, functionality and error handling of the calculator through both manual and automated testing techniques.
## ๐Ÿ› ๏ธ Tools and Technologies
- **Programming Languages**: JavaScript
- **Test Automation Frameworks**: Cypress, qUnit

## โœจ Features
- Automated functional tests for:
- Parking cost calculations for all parking types.
- Edge and boundary conditions (e.g., time transitions, weekly rates).
- Input validations and error handling.
- Comprehensive manual test cases for UI/UX and responsiveness.

## ๐Ÿงช Testing Scope
### Functional Testing
- Validate parking cost calculations for:
- **Valet Parking**: $18/day, $12 for โ‰ค 5 hours.
- **Short-Term Parking**: $2 for the first hour, $1/additional 30 minutes, $24/day max.
- **Long-Term Garage Parking**: $2/hour, $12/day max, $72/week (7th day free).
- **Long-Term Surface Parking**: $2/hour, $10/day max, $60/week (7th day free).
- **Economy Lot Parking**: $2/hour, $9/day max, $54/week (7th day free).

### Non-functional Testing(Upcoming)
- **Performance Testing**: Simulate multiple users accessing the calculator simultaneously.
- **Accessibility Testing**: Ensure compatibility with screen readers and keyboard-only navigation.

## ๐Ÿ“ Test Plan
The test plan includes:
1. **Manual Test Cases**:
- Available in the `/test-cases` folder.
- Covers UI/UX, responsiveness, and boundary conditions.

2. **Automated Test Scenarios**:
- Scripts located in the `/automation-tests` folder.
- Written using qUnit and Cypress

## ๐Ÿ“„ License
This project is licensed under the MIT License. See the `LICENSE` file for details.

### ๐Ÿค Contact
For any questions or suggestions, please open an issue in the repository.

---
### Happy Testing! ๐Ÿš€