Skip to content

Khanyi-Codes/Python-Simple-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Simple Test Calculator

This project is a simple calculator implemented in Python, with unit tests to verify its functionality.

Getting Started

Follow these instructions to fork, clone, and contribute to this repository, as well as to run the unit tests.

1. Fork the Repository

  1. Go to the GitHub page of this repository.
  2. Click the Fork button at the top right to create your own copy of the repository.

2. Clone the Repository

After forking, clone your forked repository to your local machine:

git clone https://github.com/<your-username>/Python-Simple-Test.git

Replace <your-username> with your GitHub username.

3. Make Changes

Edit or add files as needed. For example, you can edit calculator.py

4. Stage and Commit Your Changes

After making changes, stage and commit them:

git add .
git commit -m "Describe your changes here"

5. Push Your Changes

Push your committed changes to your forked repository:

git push origin main

6. Create a Pull Request (Optional)

Go to your forked repository on GitHub and click New Pull Request to propose your changes to the original repository.

Running Unit Tests

To run the unit tests, use the following command in your terminal:

python -m unittest test_calculator.py

This will execute all the tests in test_calculator.py and show the results.


Good luck!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages