Skip to content

Latest commit

 

History

History
319 lines (269 loc) · 16.9 KB

mocking.md

File metadata and controls

319 lines (269 loc) · 16.9 KB

Bookmarks tagged [mocking]

https://next.json-generator.com/

A JSON data generator. JSON Generator generates data according to the template and saves it. Data can be requested from server using ajax with jsonp.


https://enterprisecraftsmanship.com/posts/when-to-mock/

The use of mocks in unit testing is a controversial topic (maybe less so now than several years ago). I remember how, throughout my programming career, I went from mocking almost every dependency, to...

  • 📆 published on: 2020-04-15
  • tags: mocking

https://medium.com/@rickhanlonii/understanding-jest-mocks-f0046c68e53c

When we talk about mocking in Jest, we’re typically talking about replacing dependencies with the Mock Function. In this article we’ll...


https://jsonplaceholder.typicode.com/

Free to use fake Online REST API for testing and prototyping Powered by JSON Server + LowDB


https://www.youtube.com/watch?v=x3MvZ8DFrpE

Slides

Create HTTP mocks with WireMock’s REST API from any language for deterministic testing a...


https://fakeql.com/

Create fake data and API endpoints with Blowson.


https://maksimivanov.com/posts/dont-mock-what-you-dont-own/

I was refactoring specs of some Rails application when I decided to mock the class of CarierWave. I wanted to be able to check for specific…


http://wiremock.org/

WireMock is a simulator for HTTP-based APIs. Some might consider it a service virtualization tool or a mock server.

It enables you to stay productive when an API you depend on doesn't exist or isn't ...


https://github.com/marak/Faker.js/

generate massive amounts of realistic fake data in Node.js and the browser - Marak/faker.js


https://requestbin.com/

Inspect and debug webhook requests sent by your clients or third-party APIs.


http://httpbin.org

HTTP request and response service - a/k/a Swiss Army Knife for HTTP.


https://github.com/marmelab/FakeRest

Patch XMLHttpRequest to fake a REST API client-side.


http://www.mocky.io/

Free online service to create fake HTTP responses.


https://github.com/bulkismaslom/swagger-api-mock

Mock RESTful API based on swagger schema


https://github.com/darklynx/request-baskets

Service to collect HTTP requests and inspect them via RESTful API or web UI.


https://github.com/maxbrunsfeld/counterfeiter

Tool for generating self-contained mock objects.


https://github.com/DATA-DOG/go-sqlmock

Mock SQL driver for testing database interactions.


https://github.com/DATA-DOG/go-txdb

Single transaction based database driver mainly for testing purposes.


https://github.com/h2non/gock

Versatile HTTP mocking made easy.


https://github.com/golang/mock

Mocking framework for the Go programming language.


https://github.com/seborama/govcr

HTTP mock for Golang: record and replay HTTP interactions for offline testing.


https://github.com/SpectoLabs/hoverfly

HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.


https://github.com/jarcoal/httpmock

Easy mocking of HTTP responses from external resources.


https://github.com/gojuno/minimock

Mock generator for Go interfaces.


https://github.com/tv42/mockhttp

Mock object for Go http.ResponseWriter.


https://pypi.python.org/pypi/doublex

Powerful test doubles framework for Python.


https://github.com/spulec/freezegun

Travel through time by mocking the datetime module.


https://github.com/patrys/httmock

A mocking library for requests for Python 2.6+ and 3.2+.


https://github.com/gabrielfalcao/HTTPretty

HTTP request mock tool for Python.


https://docs.python.org/3/library/unittest.mock.html

(Python standard library) A mocking and patching library.


https://github.com/mindflayer/python-mocket

Socket Mock Framework plus HTTP[S]/asyncio/gevent mocking library with recording/replaying capability.


https://github.com/getsentry/responses

A utility library for mocking out the requests Python library.


https://github.com/kevin1024/vcrpy

Record and replay HTTP interactions on your tests.


http://jmockit.github.io

Integration testing, API mocking and faking, and code coverage.


https://github.com/mockito/mockito

Mocking framework that lets you write tests with a clean and simple API.


https://www.mock-server.com

Allows mocking of systems integrated with HTTPS.


https://github.com/dreamhead/moco

Concise web services for stubs and mocks.


https://github.com/jayway/powermock

Mocks static methods, constructors, final classes and methods, private methods, and removal of static initializers.


http://wiremock.org

Stubs and mocks web services.


https://tedvinke.wordpress.com/2014/02/13/mockito-why-you-should-not-use-injectmocks-annotation-to-a...

People like the way how Mockito is able to mock Spring's auto-wired fields with the @InjectMocks annotation. When I read this post of Lubos Krnac last week, I thought I should explain why I think the ...


https://www.mockapi.io/docs

MockAPI is a simple tool that lets you easily mock up APIs, generate custom data, and preform operations on it using RESTful interface. MockAPI is meant to be used as a prototyping/testing/learning to...


https://martinfowler.com/articles/mocksArentStubs.html

The article addresses among other things the following:

  • The Difference Between Mocks and Stubs
  • Classical and Mockist Testing
  • driving TDD

https://blog.cleancoder.com/uncle-bob/2014/05/14/TheLittleMocker.html

It's a conversation about mocking where the different test doubles (that is stubs, spies and mocks) and fakes are explained. The author also presents his way of "mocking" things, relying less on mocki...


http://www.mbtest.org/

mountebank is the first open source tool to provide cross-platform, multi-protocol test doubles over the wire. Simply point your application under test to mountebank instead of the real dependency, an...


https://github.com/typicode/json-server

Create a db.json file

...