DEV Community

Cover image for Unit Test(Python)
omariscode
omariscode

Posted on

Unit Test(Python)

WHAT COULD POSSIBLY GO WRONG? πŸ€”
Answer: a lot... if we don't have unit tests!βœ…

I took the time to write unit tests for my code.
More than finding errors, they help to make sure that the code and logic are in compliance, in addition to facilitating future changes.

Testing is not waste of time(I thought it was πŸ˜…). It is a gain in quality, security and clarity.
Ultimately, the code changes, but testing ensures that the essentials keep working.

ABOUT THE PROJECT IS ANOTHER POST πŸ˜…πŸŽ

πŸ” And you, have you ever thought about how many bugs could be avoided if testing was a priority?

Top comments (0)