Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick-Calc

Quick-Calc is a simple calculator application that performs basic arithmetic operations such as addition, subtraction, multiplication, and division. The project demonstrates software testing techniques and version control using Git and GitHub.

Setup Instructions

  1. Clone the repository

git clone https://github.com/delwinbiju2004/swe-testing-assignment.git

  1. Navigate into the project

cd swe-testing-assignment

  1. Install dependencies

pip3 install -r requirements.txt

  1. Run tests

pytest

Testing Framework Research

Two popular Python testing frameworks are Pytest and Unittest.

Unittest is Python’s built-in testing framework inspired by Java's JUnit. It uses class-based test structures and requires more boilerplate code. While it is powerful and included in Python by default, writing tests can be more complex.

Pytest is a modern and widely used testing framework that allows developers to write simpler and more readable tests. It automatically detects test files, provides powerful fixtures, and produces clear test output.

For this project, Pytest was chosen because it is easier to use, requires less setup, and allows tests to be written in a very clean and readable format.# swe-testing-assignment Quick-Calc calculator with testing

About

Quick-Calc calculator with testing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages