Summary

We have finally covered the most important topic in Python programming: automated testing. After proving its importance and considering best design principles, we discussed the basic API for two popular Python 3 test frameworks. In particular we covered:

  • Unit testing
  • Test-driven development
  • The unittest module
  • Assertion methods and code setup/cleanup
  • The py.test framework
  • Code coverage

In the next chapter, we'll wrap up our learning with a compendium of object-oriented frameworks and libraries that work in Python 3.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.234.24