DEV Community

Cover image for CYPRESS-AJV-SCHEMA-VALIDATOR VIDEO TUTORIAL: Mastering API Schema Testing in Cypress
Sebastian Clavijo Suero
Sebastian Clavijo Suero

Posted on

2 1 1 1 1

CYPRESS-AJV-SCHEMA-VALIDATOR VIDEO TUTORIAL: Mastering API Schema Testing in Cypress

Hi QA fellows!

I'm excited to share a new video tutorial available in my YouTube channel that will help you master API Schema validation using CYPRESS-AJV-SCHEMA-VALIDATOR. This comprehensive guide covers everything you need to elevate your API testing in Cypress through JSON Schema validation.

Check out the video on https://www.youtube.com/watch?v=Dd6MMZ6qd7g

All examples from the video are available in the GitHub repository https://github.com/sclavijosuero/cypress-ajv-schema-validator-sample-project

You can also find the slides from the tutorial presentation as a PDF in the same repository at https://github.com/sclavijosuero/cypress-ajv-schema-validator-sample-project/blob/main/tutorial-slides/cypress-ajv-schema-validator-video-tutorial.pdf


TUTORIAL CONTENT

0.1- JSON Schemas
0.2- What is cypress-ajv-schema-validator?
1- Install and Configure the Plugin in Cypress
2- Plugin API
3- First Test (Plain JSON Schema)
4- Second Test (OpenAPI 3 Doc)
5- Integration with cy.api() (@bahmutov/cy-api and cypress-plugin-api)
6- Disable JSON Schema Validation in your tests
Bonus- Sample GitHub Project, Related Blogs and Videos


I hope you find this video insightful and that it highlights the power of the CYPRESS-AJV-SCHEMA-VALIDATOR plugin. Please let me know your thoughts by leaving comments or reactions on this blog post or on the YouTube video. ❤️ 🦄 🤯 🙌 🔥 👍

And do not forget to subscribe to my new YouTube channel https://www.youtube.com/@SebastianClavijoSuero

Cheers!

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay