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
Some tests in this repository are marked with the `[Trait("Execution", "Manual")]` attribute. These tests require external dependencies or network connectivity and are not run by default in CI/CD pipelines.
6
+
7
+
### Microsoft Learn MCP Server Tests
8
+
9
+
The `MicrosoftLearnMcpServerTests` class contains integration tests that connect to the Microsoft Learn MCP server at `https://learn.microsoft.com/api/mcp` using Streamable HTTP transport.
10
+
11
+
These tests:
12
+
- Require network connectivity to Microsoft Learn services
13
+
- Test real-world integration with a production MCP server
14
+
- Validate the Streamable HTTP transport implementation
15
+
16
+
#### Running the Microsoft Learn tests
17
+
18
+
To run these tests, use the following command:
19
+
20
+
```bash
21
+
dotnet test --filter "(FullyQualifiedName~MicrosoftLearnMcpServerTests)"
22
+
```
23
+
24
+
Or to run all manual tests:
25
+
26
+
```bash
27
+
dotnet test --filter "(Execution=Manual)"
28
+
```
29
+
30
+
To exclude manual tests from a test run:
31
+
32
+
```bash
33
+
dotnet test --filter "(Execution!=Manual)"
34
+
```
35
+
36
+
### Requirements
37
+
38
+
- .NET 10.0 SDK (as specified in `global.json`)
39
+
- Internet connectivity
40
+
- Access to https://learn.microsoft.com/api/mcp (ensure no firewall restrictions)
0 commit comments