juniorschmitz / property-based-testing

Property-based testing in JS, using models for testing properties with specific libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Property testing studies

This repository contains a study around property-based testing.

It uses JS and Jest as testing framework, and as for the Propery testing library the repository uses fast-check library.

Installing dependencies:

Run the following command:

npm install

Running the tests

For running the tests, run the following command:

npm test

About Property Bases Tests

Property based testing are a good way for completing testing strategies, it should not be used as a way to replace unit tests, but as a complement, and a good one, capable of finding critical bugs.

The repository is a start for property based tests study and will evolve with more information about this kind of testing and also new examples.

About

Property-based testing in JS, using models for testing properties with specific libraries.


Languages

Language:JavaScript 100.0%