This project demonstrates automated software testing using Python and the Pytest framework.
The project contains a simple Bank Account system and automated test cases to verify its functionality. The tests check whether the banking operations work correctly and whether invalid operations are handled properly.
- Python
- Pytest
- HTML
- GitHub
- GitHub Pages
- GitHub Actions
The project includes the following automated tests:
- Initial Balance Test - Verifies that the bank account starts with the correct balance.
- Deposit Test - Verifies that money can be deposited correctly.
- Withdrawal Test - Verifies that money can be withdrawn correctly.
- Overdraw Error Test - Verifies that an error is generated when attempting to withdraw more money than the available balance.
All automated test cases passed successfully.
| Result | Count |
|---|---|
| Passed | 4 |
| Failed | 0 |
| Errors | 0 |
| Skipped | 0 |
git clone https://github.com/sahaniritika/software_testing_project.git
cd software_testing_project
pip install pytest pytest-html requests
pytest
A detailed HTML test report is generated after running the automated tests. The live test report can be accessed through the project homepage.
The project is deployed using GitHub Pages. Visit the live project homepage to view the project overview and automated test report: 👉 Project Homepage
The main objective of this project is to understand the fundamentals of automated software testing, write test cases using Pytest, execute tests automatically, and generate a test report.
Ritika Sahani
B.Tech CSE Core
Chandigarh University