All Projects → jameslnewell → Xhr Mock

jameslnewell / Xhr Mock

Utility for mocking XMLHttpRequest.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Labels

Projects that are alternatives of or similar to Xhr Mock

Interceptors
Low-level HTTP/HTTPS/XHR/fetch request interception library.
Stars: ✭ 100 (-46.81%)
Mutual labels:  xhr, mock
Mocktopus
Mocking framework for Rust
Stars: ✭ 179 (-4.79%)
Mutual labels:  mock
Vue Cli Multi Page
基于vue-cli模板的多页面多路由项目,一个PC端页面入口,一个移动端页面入口,且有各自的路由, vue+webpack+vue-router+vuex+mock+axios
Stars: ✭ 145 (-22.87%)
Mutual labels:  mock
Gunit
GUnit - Google.Test/Google.Mock/Cucumber on steroids
Stars: ✭ 156 (-17.02%)
Mutual labels:  mock
Weld
Full fake REST API generator written with Rust
Stars: ✭ 146 (-22.34%)
Mutual labels:  mock
Mockito
Most popular Mocking framework for unit tests written in Java
Stars: ✭ 12,453 (+6523.94%)
Mutual labels:  mock
Wabbit
Golang AMQP mocking library
Stars: ✭ 137 (-27.13%)
Mutual labels:  mock
Graphql Faker
🎲 Mock or extend your GraphQL API with faked data. No coding required.
Stars: ✭ 2,361 (+1155.85%)
Mutual labels:  mock
Mockinizer
An okhttp / retrofit api call mocking library
Stars: ✭ 176 (-6.38%)
Mutual labels:  mock
Httpretty
Intercept HTTP requests at the Python socket level. Fakes the whole socket module
Stars: ✭ 1,930 (+926.6%)
Mutual labels:  mock
Aeromock
Lightweight mock web application server
Stars: ✭ 152 (-19.15%)
Mutual labels:  mock
Morphlingjs
A CLI to mock with meaningful data a REST API from a Swagger file
Stars: ✭ 148 (-21.28%)
Mutual labels:  mock
Raml Server
run a mocked server JUST based on a RAML API's definition .. zero coding
Stars: ✭ 158 (-15.96%)
Mutual labels:  mock
Easy mock api
easy mock json api
Stars: ✭ 145 (-22.87%)
Mutual labels:  mock
Killgrave
Simple way to generate mock servers written in Go
Stars: ✭ 180 (-4.26%)
Mutual labels:  mock
Smoke
💨 Simple yet powerful file-based mock server with recording abilities
Stars: ✭ 142 (-24.47%)
Mutual labels:  mock
Easyfun
a project using react antd webpack es6
Stars: ✭ 150 (-20.21%)
Mutual labels:  mock
Randomdata
Random data generator
Stars: ✭ 157 (-16.49%)
Mutual labels:  mock
Mithril.js
A JavaScript Framework for Building Brilliant Applications
Stars: ✭ 13,062 (+6847.87%)
Mutual labels:  xhr
Interceptor
A browser extension to mock AJAX requests at the browser level
Stars: ✭ 182 (-3.19%)
Mutual labels:  mock

xhr-mock

This repo is a mono-repo managed by lernajs.

📖 Documentation

The documentation for the main NPM package can be found here.

🛠 Development

Install the dependencies:

yarn
yarn run bootstrap

The NPM package

Build and test the package:

cd packages/xhr-mock
yarn run build # transpile the sources
yarn run test  # run the unit tests

The integration tests

Test the package against a few well known XHR libraries:

# NOTE: you need to build the main package first
cd packages/xhr-mock-tests
yarn run test  # run the integration tests

🎁 Contributing

Contributors are very welcome! Please raise an issue or PR on Github.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].