heisenbug Heisenbug 2021 SPb (06.04.2021 — 09.04.2021)

Workshop: Writing API tests in TypeScript (part 1)

img

In this workshop, we will deploy the project and write tests, adding different patterns and approaches in the process.

A lot of people now choose JavaScript to automate E2E scripts. When one level of tests is written on one stack, you want to continue writing the rest in at least the same language.

In this workshop, we will deploy the project and write tests, adding different patterns and approaches in the process. We will make the basement for subsequent tests and optimize the existing ones. And use TypeScript to carefully type our requests and responses. And also we will take the maximum information from the Swagger/OpenAPI documentation and apply it to validate data from the server.

And of course, we will connect Allure reporting with steps and attachments, as well as configure the basic CI/CD.