All Projects → meeshkan → jaymock-cli

meeshkan / jaymock-cli

Licence: other
Mock an API and generate fake JSON test data, right from the terminal.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to jaymock-cli

Hippolyte
HTTP Stubbing in Swift
Stars: ✭ 109 (+738.46%)
Mutual labels:  test, mocking
Fake server
FakeServer integrates with ExUnit to make external APIs testing simpler
Stars: ✭ 64 (+392.31%)
Mutual labels:  test, fake
Aioresponses
Aioresponses is a helper for mock/fake web requests in python aiohttp package.
Stars: ✭ 278 (+2038.46%)
Mutual labels:  test, mocking
twilio mock
Mock Twilio gem for Ruby
Stars: ✭ 26 (+100%)
Mutual labels:  test, mocking
mockingbird
🐦 Decorator Powered TypeScript Library for Creating Mocks
Stars: ✭ 70 (+438.46%)
Mutual labels:  test, mocking
nala
🦁 Nala - A delightful test framework for C projects.
Stars: ✭ 58 (+346.15%)
Mutual labels:  test, mocking
Jaymock
Minimal fake JSON test data generator.
Stars: ✭ 28 (+115.38%)
Mutual labels:  test, fake
Faker
Faker is a Python package that generates fake data for you.
Stars: ✭ 13,401 (+102984.62%)
Mutual labels:  fake, test-data
Mocktopus
Mocking framework for Rust
Stars: ✭ 179 (+1276.92%)
Mutual labels:  test, mocking
Nsubstitute
A friendly substitute for .NET mocking libraries.
Stars: ✭ 1,646 (+12561.54%)
Mutual labels:  test, mocking
Http Fake Backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 253 (+1846.15%)
Mutual labels:  fake, mocking
Mockaco
🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting
Stars: ✭ 213 (+1538.46%)
Mutual labels:  fake, mocking
Fake Xrm Easy
The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you
Stars: ✭ 216 (+1561.54%)
Mutual labels:  fake, mocking
stub-server
Stub server for REST APIs
Stars: ✭ 14 (+7.69%)
Mutual labels:  test, fake
Ts Auto Mock
Typescript transformer to unlock automatic mock creation for interfaces and classes
Stars: ✭ 204 (+1469.23%)
Mutual labels:  fake, mocking
Mimic
Seamless client side mocking
Stars: ✭ 380 (+2823.08%)
Mutual labels:  test, mocking
Faker.js
generate massive amounts of realistic fake data in Node.js and the browser
Stars: ✭ 34,329 (+263969.23%)
Mutual labels:  fake, mocking
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (+276.92%)
Mutual labels:  fake, mocking
Prig
Prig is a lightweight framework for test indirections in .NET Framework.
Stars: ✭ 106 (+715.38%)
Mutual labels:  test, mocking
laika
Log, test, intercept and modify Apollo Client's operations
Stars: ✭ 99 (+661.54%)
Mutual labels:  test, mocking

jaymock-cli

CircleCI XO Codecov

Mock an API and generate fake JSON test data, right from the terminal.

Install

~ ❯❯❯ npm install --global @meeshkanml/jaymock-cli

Usage

  Usage
    $ jaymock <text> [--json]
    $ cat <file> | jaymock [--json]
    $ jaymock --server [--port <number>]
   
  Options
    --json, -j    Print output in JSON format
    --server, -s  Start a development server for API mocking
    --port, -p    Specify a port number for the server
   
  Examples
    $ jaymock '{"firstName":"name.firstName", "lastName":"name.lastName"}'
    {
      "firstName": "Alvina",
      "lastName": "Hodkiewicz"
    }
    $ jaymock '{"firstName":"name.firstName", "lastName":"name.lastName"}' --json
    {"firstName":"Anthony","lastName":"Krajcik"}
    $ jaymock --server --port 1337

Related

Contributing

Thanks for wanting to contribute! We will soon have a contributing page detailing how to contribute. Meanwhile, feel free to star this repository, open issues, and ask for more features and support.

Please note that this project is governed by the Meeshkan Community Code of Conduct. By participating in this project, you agree to abide by its terms.

License

MIT © Meeshkan

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].