Unit testing demo in Python using unittest.
Includes:
- Calculator with basic arithmetic
- Employee class with properties and API interaction
- Unit tests for both, including edge cases
- Mocking HTTP requests with
unittest.mock
Demonstrate unit testing, setup/teardown, and mocking.