fast-check VS intermock

Compare fast-check vs intermock and see what are their differences.

fast-check

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript (by dubzzz)

intermock

Mocking library to create mock objects with fake data for TypeScript interfaces (by google)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
fast-check intermock
21 4
4,099 1,104
- 1.0%
9.8 0.0
3 days ago 30 days ago
TypeScript TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

fast-check

Posts with mentions or reviews of fast-check. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-14.

intermock

Posts with mentions or reviews of intermock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-23.
  • Speed up testing by creating mock objects from TypeScript types from VSCode
    2 projects | /r/reactjs | 23 Nov 2022
    Yep, I felt the same. I'd been using the builder functions this produces for a while to at least speed up test writing but thought it should be easy to automate so went looking. Turns out there is a tool out there, Intermock, and, while fantastic, it is command line only. Our tool is built on top of that to provide a way to run it in VSCode with a couple of other niceties added.
  • 4 hacks for writing frontend tests 10x faster (probably!)
    2 projects | dev.to | 1 Sep 2022
    Whenever I found myself creating another mock object for testing I kept looking at my Typescript types and thinking, can’t something look at that and do it for me? This sent me down a search for a solution and I was so stoked to find intermock which is a command line tool that does just that. While it is still a work in progress and has some limitations I have found it super helpful when writing tests.
  • Generating dummy entities with random data for tests based on types
    4 projects | /r/typescript | 23 Jun 2022
    I found Intermock a little while ago when I was looking for something similar. It looks relatively inactive, but I didn't even try it out or look into it any further.
  • Why I'm stoked on Inception Weeks 🤙 (and your employee's will be too!)
    2 projects | dev.to | 21 Oct 2021
    My most recent Inception Week has helped me grow significantly as a developer as I worked on an application outside of the browser for the first time in my career. Building on the work of the awesome folks who built intermock, I adapted their tool to be used within the VSCode IDE with the extension Emulative (coming soon to a marketplace near you!). In doing so, I am hoping to do my (very) small part to improve the lives of my fellow developers by building upon the tool chain that so many others have built in order to make the work we do easier and more rewarding.

What are some alternatives?

When comparing fast-check and intermock you can also consider the following projects:

Unexpected - Unexpected - the extensible BDD assertion toolkit

ts-to-zod - Generate zod schemas from typescript types/interfaces

jest - Delightful JavaScript Testing.

testing-library-docs - docs site for @testing-library/*

tape - tap-producing test harness for node and browsers

emulative - Mock your Typescript types straight from VSCode.

trevor - 🚦 Your own mini Travis CI to run tests locally

fishery - A library for setting up JavaScript objects as test data

test-each - 🤖 Repeat tests. Repeat tests. Repeat tests.

nyc - the Istanbul command line interface

loadtest - Runs a load test on the selected URL. Fast and easy to use. Can be integrated in your own workflow using the API.

tap - Test Anything Protocol tools for node