Skip to content

Commit 8f7e947

Browse files
committed
Feedback
1 parent 5ed40b9 commit 8f7e947

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@ The C# driver for MongoDB.
1919
- `tests/*` - Specialized tests; less common
2020
- `tests/MongoDB.Driver.Tests/Specifications/` are JSON-driven tests using a common runner.
2121

22+
## Editing
23+
- Be careful to preserve file BOMs.
24+
2225
## Commands
2326
- Build: `dotnet build CSharpDriver.sln`
2427
- Run all tests: `dotnet test tests/MongoDB.Driver.Tests/MongoDB.Driver.Tests.csproj -f net10.0`
2528
- Run a single test class: `dotnet test tests/MongoDB.Driver.Tests/MongoDB.Driver.Tests.csproj -f net10.0 --filter "FullyQualifiedName~ClassName"`
2629

27-
A MongoDB connection is always available locally, so "integration" tests can be run as well as unit tests. Some test suites also require additional environment variables — if you need to run those tests and the variables are not set, stop and tell the user which variables are needed rather than working around it.
30+
## Testing
31+
- Tests cannot be run in parallel.
32+
- A MongoDB connection is always available locally, so "integration" tests can be run as well as unit tests. Some test suites also require additional environment variables — if you need to run those tests and the variables are not set, stop and tell the user which variables are needed rather than working around it.
2833

2934
| Feature area | Required environment variables |
3035
|---|---|
@@ -44,4 +49,5 @@ A MongoDB connection is always available locally, so "integration" tests can be
4449

4550
## Commit and PR Conventions
4651

47-
- Commit and PR messages start with a JIRA number: `CSHARP-1234: Description`
52+
- The first commit message and the PR message start with a JIRA number: `CSHARP-1234: Description`
53+
- The branch name will usually match the JIRA number: `CSHARP-1234`

0 commit comments

Comments
 (0)