aws-sdk-client-mock VS aws-sdk-mock

Compare aws-sdk-client-mock vs aws-sdk-mock and see what are their differences.

aws-sdk-client-mock

AWS JavaScript SDK v3 mocks for easy unit testing. πŸ–‹οΈ Typed πŸ”¬ Tested πŸ“„ Documented πŸ› οΈ Maintained (by m-radzikowski)

aws-sdk-mock

:rainbow: AWSomocks for Javascript/Node.js aws-sdk tested, documented & maintained. Contributions welcome! (by dwyl)
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
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
aws-sdk-client-mock aws-sdk-mock
2 3
724 1,085
- 0.8%
7.5 8.5
13 days ago 1 day 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.

aws-sdk-client-mock

Posts with mentions or reviews of aws-sdk-client-mock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-07.
  • Top 12 Serverless Announcements from re:Invent 2022
    3 projects | dev.to | 7 Dec 2022
    If you are using the AWS JS SDK v3, the best way to mock it for unit tests is to use the aws-sdk-client-mock library.
  • Jest Testing like a Pro - Tips and tricks
    4 projects | dev.to | 27 Feb 2022
    This does not mean we never used aws-sdk-mock - haven't tried yet this version for SDK v3 - check this article for more info - but in general I try to write very simple unit tests, and very simple integration tests, keeping mocks to a minimum.

aws-sdk-mock

Posts with mentions or reviews of aws-sdk-mock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-15.
  • Alternative to AWS Mock
    2 projects | dev.to | 15 Feb 2023
    I don’t think you need AWS Mock to test your Lambdas.
  • Jest Testing like a Pro - Tips and tricks
    4 projects | dev.to | 27 Feb 2022
    This does not mean we never used aws-sdk-mock - haven't tried yet this version for SDK v3 - check this article for more info - but in general I try to write very simple unit tests, and very simple integration tests, keeping mocks to a minimum.
  • How to mock and spy on AWS-SDK calls with jest
    1 project | dev.to | 21 Feb 2022
    You can use a dedicated module that makes mocking easier like aws-sdk-mock. I just prefer to use as little dependencies as possible, especially in bigger projects.

What are some alternatives?

When comparing aws-sdk-client-mock and aws-sdk-mock you can also consider the following projects:

mocha - β˜•οΈ simple, flexible, fun javascript test framework for node.js & the browser

fast-check - Property based testing framework for JavaScript (like QuickCheck) written in TypeScript

Sinon.JS - Test spies, stubs and mocks for JavaScript.

mongodb-memory-server - Spinning up mongod in memory for fast tests. If you run tests in parallel this lib helps to spin up dedicated mongodb servers for every test file in MacOS, *nix, Windows or CI environments (in most cases with zero-config).

ava - Node.js test runner that lets you develop with confidence πŸš€

fluentfixture - A flexible tool for generating customizable mock data with a fluent interface πŸš€

org-formation-cli - Better than landingzones!

ng-mocks - Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup