Skip to content

Repository files navigation

Automated Software Testing with Python

📌 Project Overview

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.

🛠️ Technologies Used

  • Python
  • Pytest
  • HTML
  • GitHub
  • GitHub Pages
  • GitHub Actions

🧪 Test Cases

The project includes the following automated tests:

  1. Initial Balance Test - Verifies that the bank account starts with the correct balance.
  2. Deposit Test - Verifies that money can be deposited correctly.
  3. Withdrawal Test - Verifies that money can be withdrawn correctly.
  4. Overdraw Error Test - Verifies that an error is generated when attempting to withdraw more money than the available balance.

✅ Test Results

All automated test cases passed successfully.

Result Count
Passed 4
Failed 0
Errors 0
Skipped 0

🚀 How to Run the Project

1. Clone the repository

git clone https://github.com/sahaniritika/software_testing_project.git

2. Open the project folder

cd software_testing_project

3. Install dependencies

pip install pytest pytest-html requests

4. Run the tests

pytest

📊 Test Report

A detailed HTML test report is generated after running the automated tests. The live test report can be accessed through the project homepage.

🌐 Live Project

The project is deployed using GitHub Pages. Visit the live project homepage to view the project overview and automated test report: 👉 Project Homepage

🎯 Objective

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.

👩‍💻 Author

Ritika Sahani
B.Tech CSE Core
Chandigarh University

About

Automated testing framework for a Python Bank Account app using Pytest, featuring auto-generated HTML reports and continuous integration via GitHub Actions & Pages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages