Skip to content

Commit 7cc2d8e

Browse files
Copilotstephentoub
andcommitted
Add .NET InternalsVisibleTo note to copilot instructions
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent fc7cf33 commit 7cc2d8e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
- Python: `cd python && uv pip install -e ".[dev]"``uv run pytest` (E2E tests use the test harness)
2626
- Go: `cd go && go test ./...`
2727
- .NET: `cd dotnet && dotnet test test/GitHub.Copilot.SDK.Test.csproj`
28+
- **.NET testing note:** Never add `InternalsVisibleTo` to any project file when writing tests. Tests must only access public APIs.
2829

2930
## Testing & E2E tips ⚙️
3031

0 commit comments

Comments
 (0)