Summary

Whoa! We just survived a chapter about testing software! That's something to be proud of. We learned a few concepts such as TDD, white-box, and black-box testing. We also learned how to create unit tests; test our views; write features using the Gherkin language and test them using lettuce; use Flask-testing, Selenium with PhantomJS to test a HTML response from the user perspective; also how to use fixtures to control our application state for proper reproducible testing. Now you are capable of testing Flask applications in different ways using the correct techniques for different scenarios and needs.

In the next chapter, things are gonna go wild really fast as our subject of study will be tricks with Flask. Blueprints, sessions, logging, debugging, and so on, will be covered in the next chapter, allowing you to create even more robust software. See you there!

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

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