You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple Pub Sub system that uses AMQP Messaging to exchange data between services
6
-
7
-
<!-- prettier-ignore -->
8
-
| Branch | Tests | Code Coverage | Comments |
9
-
| ------ | ----- | ------------- | -------- |
10
-
|`develop`|[](https://circleci.com/gh/davesag/amqp-simple-pub-sub/tree/develop)|[](https://codecov.io/gh/davesag/amqp-simple-pub-sub)| Work in progress |
|`develop`|[](https://circleci.com/gh/davesag/amqp-simple-pub-sub/tree/develop)|[](https://codecov.io/gh/davesag/amqp-simple-pub-sub)| Work in progress |
-[NodeJS](htps://nodejs.org), version 10.15.3 (LTS) or better (I use [`nvm`](https://github.com/creationix/nvm) to manage Node versions — `brew install nvm`.)
116
+
-[NodeJS](htps://nodejs.org), version 10.16.1 (LTS) or better (I use [`nvm`](https://github.com/creationix/nvm) to manage Node versions — `brew install nvm`.)
117
117
-[Docker](https://www.docker.com) (Use [Docker for Mac](https://docs.docker.com/docker-for-mac/), not the homebrew version)
118
118
119
119
### Initialisation
120
120
121
-
```
121
+
```sh
122
122
npm install
123
123
```
124
124
125
125
### To Start the queue server for integration testing.
126
126
127
-
```
127
+
```sh
128
128
docker-compose up -d
129
129
```
130
130
131
131
Runs Rabbit MQ.
132
132
133
133
### Test it
134
134
135
-
-`npm test` — runs the unit tests (quick and does not need rabbit mq running)
136
-
-`npm run test:integration` — runs the integration tests (not so quick and needs rabbitmq running)
135
+
-`npm test` — runs the unit tests (quick and does not need `rabbitmq` running)
136
+
-`npm run test:unit:cov` — runs the unit tests with code coverage (does not need `rabbitmq`)
137
+
-`npm run test:integration` — runs the integration tests (needs `rabbitmq`)
138
+
-`npm run test:mutants` — runs the mutation tests (does not need `rabbitmq`)
0 commit comments