Everything starts to be an API today. Unlike web interfaces APIs can’t be tested manually, by hand. So there is no other option than writing automated tests. Codeception provides the best set of tools to test REST effectively: data checks, structure checks, deep integration with frameworks. Come to this tutorial to learn how to make stable APIs with tests. In this session we will cover:

Using REST module with PhpBrowser or a framework of choice
Testing data structures with JSONPath and JSONType
Authentication in tests
Managing test data
Extending Codeception to validate responses with JSONSchema or Swagger

Comments

Comments are closed.