Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
36 lines (20 loc) · 862 Bytes

File metadata and controls

36 lines (20 loc) · 862 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Testing Python Apps

Building Python apps

Testing while you build

Section 3: Intro to unittest

Section 4: Unit testing a simple Flask endpoint

Section 5: Unit testing a REST API

Continuous Integration

  • Travis CI is set up only for Section 2.

https://docs.travis-ci.com/user/languages/python/

Section 6: Integration testing a REST API

Sections 7 + 8: System testing a REST API

7: unittest

8: Postman + newman

Remember to cover installing the necessary PyCharm plugins to be able to run things simultaneously. Need:

  • Multirun, to allow to run multiple configurations in parallel.
  • BashSupport (or CMDSupport on Windows), to allow running command-line scripts.
    • Also need to check how to do this on Windows

Section 9: Acceptance testing a website

Section 10: Contract testing (not now)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.