Skip to content

Commit 00f1348

Browse files
Apply suggestions from code review
Co-authored-by: Sean Killeen <SeanKilleen@gmail.com>
1 parent bb9becb commit 00f1348

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/articles/nunit/writing-tests/attributes/notests.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,25 +63,25 @@ Use `TestStatus.Inconclusive` when empty test cases indicate an indeterminate st
6363

6464
## Common Scenarios
6565

66-
### Dynamic test data
66+
### Dynamic Test Data
6767

6868
Typical when test cases come from a source that can legitimately be empty (a database, API, config file, or similar).
6969

7070
[!code-csharp[NoTestsDynamicData](~/snippets/Snippets.NUnit/Attributes/NoTestsAttributeExamples.cs#NoTestsDynamicData)]
7171

72-
### Conditional execution
72+
### Conditional Execution
7373

7474
Typical when cases are only produced for some platforms, environments, or other prerequisites.
7575

7676
[!code-csharp[NoTestsConditionalExecution](~/snippets/Snippets.NUnit/Attributes/NoTestsAttributeExamples.cs#NoTestsConditionalExecution)]
7777

78-
### Feature flags
78+
### Feature Flags
7979

8080
Typical when data-driven cases depend on feature flags or rollout state and may sometimes yield none.
8181

8282
[!code-csharp[NoTestsFeatureFlag](~/snippets/Snippets.NUnit/Attributes/NoTestsAttributeExamples.cs#NoTestsFeatureFlag)]
8383

84-
## Scope precedence
84+
## Scope Precedence
8585

8686
* **Assembly** — parameterized tests across the assembly
8787
* **Fixture (class)** — parameterized tests in that fixture

docs/articles/nunit/writing-tests/attributes/onetimeteardown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ With [`FixtureLifeCycle(LifeCycle.InstancePerTestCase)`](xref:fixturelifecycleat
2424
once after all tests despite each case having its **own** instance; instance teardown belongs in [`TearDown`](xref:teardown-attribute)
2525
per test instead.
2626

27-
Methods may be **async** (`Task` / `Task<T>`): NUnit will wait for completion.
27+
Methods may be **async** (`Task` / `Task<T>`); NUnit will wait for completion.
2828

2929
## Test fixture versus SetUp fixture
3030

0 commit comments

Comments
 (0)