Comment

Comment by zerego

What you're looking for is called model based testing.

There is also property based testing which generates random data for the tests.

You can read more about this in the official documentation of this npm package https://www.npmjs.com/package/fast-check

I know there are plugins for cypress and most likely to other tools to be able to setup model based tests.

parent zerego 5 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton