Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

cnry/meck-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Meck Wrapper for RabbitMQ

Meck is a pretty awesome mock library for erlang, we want to use it in our RabbitMQ plugins. This repository is just the bridge to the RabbitMQ build system.

How to use this wrapper

This is usually the layout of a development environment for RabbitMQ plugins that supports this wrapper:

  rabbitmq-public-umbrella
    |
    - rabbitmq-*
    - your-rabbitmq-plugin
    - meck-wrapper <-- Here's our guy!

After that, change the package.mk file inside of your plugin and add meck-wrapper to the DEPS var. Here's an example of a package.mk file that uses meck:

PACKAGE_NAME:=rabbit_presence_exchange
APP_NAME:=rabbit_presence_exchange
DEPS:=rabbitmq-erlang-client meck-wrapper
STANDALONE_TEST_COMMANDS:=presence_exchange_test:all_tests()

About

RabbitMQ wrapper for Meck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published