Skip to content

Commit 7eb7901

Browse files
authored
Update Copilot instructions for MTP
1 parent 50370b7 commit 7eb7901

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/copilot-instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ The SDK consists of three main packages:
100100
- Mock external dependencies (filesystem, HTTP clients) rather than calling real services
101101
- Use `CancellationTokenSource` with timeouts to prevent hanging tests
102102
- Dispose resources properly (servers, clients, transports) using `IDisposable` or `await using`
103-
- Run tests with: `dotnet test --filter '(Execution!=Manual)'`
103+
- Run tests with: `dotnet test --filter-not-trait 'Execution=Manual'`
104+
- Valid test filter switches include: `--filter-class`, `--filter-not-class`, `--filter-method`, `--filter-not-method`, `--filter-namespace`, `--filter-not-namespace`, `--filter-not-trait`, `--filter-trait`. The switches `--filter-class` and `--filter-method` expect fully qualified names, unless a filter is used as a prefix like `--filter-class "*.SomeClassName"` or `--filter-method "*.SomeMethodName"`. These switches can be repeated to run tests on multiple classes or methods at once, e.g., `--filter-method "*.SomeMethodName1" --filter-method "*.SomeMethodName2"`.
104105

105106
## Build and Development
106107

0 commit comments

Comments
 (0)