Automating Tests

In this chapter, we will add some automated testing to our RESTful Web Services and we will execute the tests within a test database. We won't cover all the tests that we should write for our complex RESTful Web Service. However, we will follow the first steps and we will gain an understanding of:

  • Getting ready for unit testing with pytest
  • Writing unit tests for a RESTful Web Service
  • Discovering and running unit tests with pytest
  • Writing new unit tests to improve tests' code coverage
  • Running new unit tests
..................Content has been hidden....................

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