Skip to content

Multi IPC protocol CLI testing tool

License

Notifications You must be signed in to change notification settings

fsantiag/enqueuer

 
 

Repository files navigation

enqueuer

npm version Build Status Maintainability Greenkeeper badge

enqueuerlogo Take a look if you prefer to read it in portuguese;

When a TCP server you own is hit, you have to send an information to a RESTful API and notify this using AMQP messages.

readme-flow

Now, you have three options to test this polyglot flow:

  1. Write no test at all;
  2. Write a component test for each one of these cases separately in the codebase itself, mock them all, handle new dependencies, figure out details and deal with debugging them when they fail; or
  3. Use enqueuer and have it all tested right out of the box.

To use enqueuer, you have to:

  1. install it:

    $npm install enqueuer

  2. create a file to describe how to test: readme-tests

  3. execute it: readme-result

What it does

It is a microservice integration testing tool that supports a range of protocols (HTTP, AMQP, MQTT etc.) and provides the following capabilities:

  • Initiates requests
  • Mock depended services
  • Assert against payload and message content
  • CLI easily added to CI pipelines

Consider reading the instructions for further details

About

Multi IPC protocol CLI testing tool

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.6%
  • JavaScript 1.1%
  • Shell 0.3%