partial-mock
A solution for ⬆️over and ⬇️under mocking (by theKashey)
shoehorn
Work seamlessly with partial mocks in TypeScript. (by total-typescript)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
partial-mock | shoehorn | |
---|---|---|
1 | 3 | |
12 | 432 | |
- | 0.7% | |
5.7 | 5.7 | |
4 months ago | 4 months ago | |
TypeScript | TypeScript | |
- | MIT License |
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.
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.
partial-mock
Posts with mentions or reviews of partial-mock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-08.
-
Partial: how not to mock the whole world
That's it - partial mock helps with the "over-mocking", situations where you mock too much, and it also solves problems with the "under-mocking" where you missing some important pieces.
shoehorn
Posts with mentions or reviews of shoehorn.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-08.
-
Partial: how not to mock the whole world
Yeah, the last line is 🤮 and one can improve it with utilities like shoehorn hiding all complexity underneath.
-
I hate mocking Typescript classes with Jest
You might like shoehorn, which allows you to do partial mocks: https://github.com/total-typescript/shoehorn
-
Unleash the power of Partial <T> for mock data perfection!
There's one more approach that I have recently come across by none other than our Typescript Wizard: Matt Pocock. He's created a library called shoehorn that has some utility types. Head over to his article and read more about it.
What are some alternatives?
When comparing partial-mock and shoehorn you can also consider the following projects:
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
jest-typescript-mock-reference
such - A powerful fake data library, expandable, configurable, generate data exactly as you want.
strong-mock - Type safe mocking library for TypeScript
interface-forge - Graceful mock-data and fixtures generation using TypeScript
graphql-tools - :wrench: Utility library for GraphQL to build, stitch and mock GraphQL schemas in the SDL-first approach
shallow-render - Angular testing made easy with shallow rendering and easy mocking. https://getsaf.github.io/shallow-render
next-testing-api - Next API Test Suite 🚀 Simplifying the mocking and asserting of Next API Request & Responses
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured