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
Copy file name to clipboardExpand all lines: sdk/core/azure_core_amqp/README.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
-
# azure_core_amqp
1
+
# Azure AMQP library for Rust
2
2
3
-
Azure AMQP crate for consumption of AMQP based packages in the Azure SDK for C++.
3
+
Azure AMQP crate for consumption of AMQP based packages in the Azure SDK for Rust and C++.
4
4
5
-
NOTE: THIS IS NOT A GENERAL PURPOSE AMQP LIBRARY AND SHOULD NOT BE USED AS SUCH.
5
+
> NOTE: THIS IS NOT A GENERAL PURPOSE AMQP LIBRARY AND SHOULD NOT BE USED AS SUCH.
6
6
7
7
This crate is part of a collection of crates: for more information please refer to [https://github.com/azure/azure-sdk-for-rust](https://github.com/azure/azure-sdk-for-rust).
8
8
9
-
## Testing the AMQP Client.
9
+
## Testing the AMQP Client
10
10
11
11
The AMQP package is tested using the standard `cargo test` command line:
12
12
13
-
```bash
13
+
```pwsh
14
14
cargo test --package azure_core_amqp --all-features
15
15
```
16
16
@@ -21,10 +21,11 @@ One existing AMQP broker is the "TestAMQPBroker" from the azure-amqp GitHub repo
21
21
To launch the TestAMQPBroker, there are two ways of installing and running the TestAmqpBroker, Scripted and Manual.
22
22
23
23
### Scripted Broker Install
24
+
24
25
Running the broker from a script requires that you first [install Powershell](https://learn.microsoft.com/powershell/scripting/install/installing-powershell?view=powershell-7.4).
25
26
From a running powershell instance, run the powershell script in the sdk/core/azure_core_amqp directory:
26
27
27
-
```
28
+
```pwsh
28
29
./sdk/core/azure_core_amqp/Test-Setup.ps1
29
30
```
30
31
@@ -36,35 +37,36 @@ You can then run the azure_core_amqp package tests.
36
37
37
38
Once you have finished running your tests, you run:
38
39
39
-
```
40
+
```pwsh
40
41
./sdk/core/azure_core_amqp/Test-Cleanup.ps1
41
42
```
42
43
43
44
which will terminate the test broker.
44
45
45
46
### Manual Broker Install
47
+
46
48
For Manual testing, first clone the azure-amqp repository to a local directory:
47
49
48
-
```bash
50
+
```pwsh
49
51
cd <Test Working Directory>
50
52
git clone https://github.com/Azure/azure-amqp
51
53
```
52
54
53
55
Alternately, you can clone to a specific release in the azure-amqp repository:
0 commit comments