Test Driven Development with pytest

Introduction Good software is tested software. Testing our code can help us catch bugs or unwanted behavior. Test Driven Development (TDD) is a software development practice that requires us to incrementally write tests for features we want to add. It leverages automated testing suites, like pytest – a testing framework for Python programs. Automated Testing Developers usually write code, compile it if necessary, and then run the code to see if it works. This is an example of manual testing. […]

Read more

Unit Testing in Python with Unittest

Introduction In almost all fields, products are thoroughly tested before being released to the market to ensure its quality and that it works as intended. Medicine, cosmetic products, vehicles, phones, laptops are all tested to ensure that they uphold a certain level of quality that was promised to the consumer. Given the influence and reach of software in our daily lives, it is important that we test our software thoroughly before releasing it to our users to avoid issues coming […]

Read more