a1c8c8459b
* bump deps * revert script changes * adding govendor miss
1.2 KiB
1.2 KiB
Contributing
The workflow is pretty standard:
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Run integration tests (see below)
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push -u origin my-new-feature
) - Submit a pull request
Running Tests
Required Plugins
The test suite assumes you have a RabbitMQ node running on localhost with rabbitmq_management
and
rabbitmq_shovel_management
plugins enabled and that
rabbitmqctl
is available in PATH
(or RABBITHOLE_RABBITMQCTL
points to it).
To enable the plugins:
rabbitmq-plugins enable rabbitmq_management rabbitmq_shovel_management
That will enable rabbitmq_shovel
as a dependency.
Setting Up Virtual Hosts and Permissions
Before running the tests, make sure to run bin/ci/before_build.sh
that will create a vhost and user(s) needed
by the test suite.
Running Tests
The project uses Ginkgo and Gomega.
To clone dependencies and run tests, use make
. It is also possible
to use the brilliant Ginkgo CLI runner e.g.
to only run a subset of tests.