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
@@ -284,7 +285,7 @@ internal static class MyFeatureSetupHelpers
284
285
285
286
## Shared Test Fakes
286
287
287
-
Both test projects share hand-rolled fakes from `tests/Shared/`. No mocking framework is used.
288
+
Both test projects use hand-rolled fakes — no mocking framework is used. Cross-project fakes live in `tests/Shared/` (e.g., `TestDashboardClient`, `ModelTestHelpers`), while bUnit-specific fakes live in `tests/Aspire.Dashboard.Components.Tests/Shared/` (e.g., `TestLocalStorage`, `TestTimeProvider`).
288
289
289
290
| Fake | Purpose |
290
291
|------|---------|
@@ -326,9 +327,9 @@ var resource = ModelTestHelpers.CreateResource(
326
327
327
328
## Test Conventions
328
329
329
-
### DO: Use `[UseCulture("en-US")]`on Component Tests
330
+
### DO: Use `[UseCulture("en-US")]`for Culture-Sensitive Component Tests
330
331
331
-
All bUnit test classes should be decorated with `[UseCulture("en-US")]`for deterministic formatting:
332
+
Apply `[UseCulture("en-US")]`to bUnit test classes that assert culture-sensitive formatting (for example, numbers or dates) so those tests run deterministically across environments:
0 commit comments