Skip to content

Testing the BankAccount class implemented in Python using the unittest library.

Notifications You must be signed in to change notification settings

onesch/unittest-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The BankAccount class models a bank account and includes methods for:

  • Depositing funds
  • Withdrawing funds
  • Transferring funds between accounts
  • Getting the current balance

Installation

  • Clone the repository
git clone https://github.com/onesch/unittest-example.git
  • Navigate to the project directory
cd unittest-example
  • Install dependencies
poetry install
  • Run the tests
poetry run pytest -vv

About

Testing the BankAccount class implemented in Python using the unittest library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages