Skip to content

Lincolnvineeth/software-testing-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Testing Lab — Python Calculator

CI

A beginner-friendly software testing project built in Python using pytest. This project demonstrates core software testing techniques applied to a simple calculator module, with automated test execution via GitHub Actions.

Testing Techniques Covered

  • Unit Testing — testing each function individually
  • Boundary Value Analysis — testing edge cases like 0, -1, and invalid inputs
  • Black-Box Testing — testing based on input/output without looking at internal logic
  • Regression Testing — re-running all tests after every code change via CI

Project Structure

calculator.py # Source code being tested test_calculator.py # All test cases report.html # Auto-generated test report .github/workflows/ # GitHub Actions CI pipeline

How to Run Tests Locally

pip3 install pytest python3 -m pytest test_calculator.py -v

Tools Used

  • Python 3
  • pytest
  • GitHub Actions (CI/CD)
  • VS Code

Subject

Software Testing — Academic Lab Assignment


---

### Topics/tags to add on GitHub (in the About section → gear icon → Topics):

python pytest unit-testing software-testing github-actions beginner academic

About

Python unit testing project using pytest — demonstrates unit, boundary, black-box & regression testing with GitHub Actions CI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors