/property-based-testing

Property Based testing with TypeScript & React

Primary LanguageTypeScript

Property Based testing with TypeScript & React

Using Fast check library

Slides

Usage

Install dependencies: yarn

Running the app: yarn start Running the tests: yarn test Running cypress: yarn run cypress open

Examples

  • src/morse-code - example of testing code that is hard to test using examples
  • src/react-app - example of property based testing with React (form validation)
  • src/mentions - example of fuzz testing of functions
  • cypress - example of E2E testing