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
.NET client's test suite assumes there's a RabbitMQ node listening on localhost:5672
3
+
.NET client's test suite assumes there's a RabbitMQ node listening on `localhost:5672`
4
4
(the default settings). SSL tests require a broker listening on the default
5
5
SSL port. Connection recovery tests assume `rabbitmqctl` at `../rabbitmq-server/scripts/rabbitmqctl`
6
6
can control the running node: this is the case when all repositories are cloned using
7
7
the [umbrella repository](https://github.com/rabbitmq/rabbitmq-public-umbrella).
8
8
9
-
It is possible to use [Visual Studio 2015 Community Edition](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx),
10
-
.NET Core, and `dotnet.exe` in `PATH`, to build the client and run the test suite.
9
+
It is possible to use Visual Studio Community Edition .NET Core, and
10
+
`dotnet.exe` in `PATH`, to build the client and run the test suite.
11
+
11
12
12
13
## Building
13
14
@@ -27,39 +28,47 @@ This will complete the code AMQP 0-9-1 protocol code generation and build all pr
27
28
28
29
## Running Tests
29
30
30
-
Tests can be run from Visual Studio using [NUnit Test Adapter](https://visualstudiogallery.msdn.microsoft.com/6ab922d0-21c0-4f06-ab5f-4ecd1fe7175d).
31
-
Note that it may take some time for the adapter to discover tests in the assemblies.
31
+
Tests can be run from Visual Studio using the NUnit Test Adapter. Note that it
32
+
may take some time for the adapter to discover tests in the assemblies.
32
33
33
-
The test suite assumes there's a RabbitMQ node running locally with all defaults, and the tests will need to be able to run commands against the [rabbitmqctl](https://www.rabbitmq.com/rabbitmqctl.8.html) tool for that node. Two options to accomplish this are:
34
+
The test suite assumes there's a RabbitMQ node running locally with all
35
+
defaults, and the tests will need to be able to run commands against the
36
+
[`rabbitmqctl`](https://www.rabbitmq.com/rabbitmqctl.8.html) tool for that node.
37
+
Two options to accomplish this are:
34
38
35
39
1. Team RabbitMQ uses [rabbitmq-public-umbrella](https://github.com/rabbitmq/rabbitmq-public-umbrella), which sets up a local RabbitMQ server [built from source](https://www.rabbitmq.com/build-server.html):
2. You can load a RabbitMQ node in a [docker](https://www.docker.com/) container. You will need to create an environment variable `RABBITMQ_RABBITMQCTL_PATH` and set it to `DOCKER:<container_name>` (for example `DOCKER:rabbitmq01`). This tells the unit tests to run the `rabbitmqctl` commands through docker, in the format `docker exec rabbitmq01 rabbitmqctl <args>`:
0 commit comments