25

Parameterized Tests in Cypress

 2 years ago
source link: https://carlosvin.github.io/langs/en/posts/cypress-parametrized-dynamic-tests/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Parameterized Tests in Cypress

How to write parameterized tests in Cypress

Cypress is a testing framework for anything running on a web browser. I am using it to test this site and I’ve talked before about it in the post "This is Sapper".

In this post I won’t explain how to use Cypress, they have a pretty nice documentation: Getting started with Cypress.

I will stick to the parameterized tests topic.

Parameterized tests: Also known as dynamic tests, it is an useful technique where you can specify an input dataset and the test case will be repeated for each element in the dataset.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK