/pet-store-tests-READY

TS+mocha+chai-should+swagger-to-ts + gotjs

Primary LanguageTypeScriptMIT LicenseMIT

Каждое видео из плейлиста (https://www.youtube.com/playlist?list=PLEUkJQfJdxsQptXYqu07xwNyc_kcCzX2I) имеет свою ветку:

  1. Start of API testing project - https://github.com/Xotabu4/pet-store-tests-READY/tree/1-starting-project

  2. Controllers - https://github.com/Xotabu4/pet-store-tests-READY/tree/2-controllers

  3. Request Builder - https://github.com/Xotabu4/pet-store-tests-READY/tree/3-request-builder

  4. Types for request and response - https://github.com/Xotabu4/pet-store-tests-READY/tree/4-typified-request-response

5.1 Asserting response structure: Writing JSON schema - https://github.com/Xotabu4/pet-store-tests-READY/tree/5-1-manual-schema-construct

5.2 Asserting response structure: Reusing schemas from documentation - https://github.com/Xotabu4/pet-store-tests-READY/tree/5-2-reusing-schemas-from-swagger

5.3 Asserting response structure: Setting up validation for every response - https://github.com/Xotabu4/pet-store-tests-READY/tree/5-3-library-openapi-validator

  1. API client - https://github.com/Xotabu4/pet-store-tests-READY/tree/6-api-client

  2. Configuration - https://github.com/Xotabu4/pet-store-tests-READY/tree/7-configuration

7.1 Mocha configuration file, pretest script - https://github.com/Xotabu4/pet-store-tests-READY/tree/7-1-prepared-request-builder

  1. Allure report - https://github.com/Xotabu4/pet-store-tests-READY/tree/8-reporting

8.1 Steps in Allure report - https://github.com/Xotabu4/pet-store-tests-READY/tree/8-1-allure-steps

8.2 Controller methods in Allure report - https://github.com/Xotabu4/pet-store-tests-READY/tree/8-2-controller-method-step