What are unittests in Python?

Home Forums Python Course Forum Python DB (MySQL) What are unittests in Python?

Viewing 0 reply threads
  • Author
    • H2k Infosys

      “unittest is a unit testing framework of Python.
      Unit testing means testing different components of software separately. Can you think why unit testing is important? Imagine a scenario, you are building software which uses three components namely A, B, and C. Now, suppose your software breaks at a point time. How will you find which component was responsible for breaking the software? Maybe it was component A that failed, which in turn failed component B, and this actually failed the software. There can be many such combinations.
      This is why it is necessary to test each and every component properly so that we know which component might be highly responsible for the failure of the software.”


Viewing 0 reply threads
  • You must be logged in to reply to this topic.