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
[ExcludeInterfaceMember] to exclude specific members from interface generation (#19)
* Added a feature to exclude interface members.
* Added unit tests for the feature
* Adding int test harness.
* Finished int tests
* Refactored interface generation tests
* Rework int tests to test how IServiceProvider behaves (useful for future compiled time DI)
* WIP
* Refactor asserts
---------
Co-authored-by: Dmytro Ett <dmytro.ett@outlook.com>
Copy file name to clipboardExpand all lines: .codex/skills/snapshot-unit-testing/SKILL.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Favor a small number of representative scenarios; combine related assertions to
13
13
14
14
Avoid opening or reading `.received`/`.verified` files; rely on `dotnet test` output and VerifyException details only.
15
15
16
-
Treat `scripts/accept-snapshot` and `scripts/accept-all-snapshots` as black boxes; do not open or inspect them.
16
+
Treat `.codex/skills/snapshot-unit-testing/scripts/accept-snapshot` and `.codex/skills/snapshot-unit-testing/scripts/accept-all-snapshots` as black boxes; do not open or inspect them.
17
17
18
18
# Workflow
19
19
@@ -24,8 +24,8 @@ Run targeted tests with `dotnet test --filter` and add `--no-build`/`--no-restor
24
24
Inspect `dotnet test` output to decide whether the test logic is wrong or snapshots need updating; do not open raw snapshot files.
25
25
26
26
Accept snapshots only when the behavior change is intended and clearly understood:
27
-
- Use `scripts/accept-snapshot <TestClassName> <TestMethodName>` for a single test.
28
-
- Use `scripts/accept-all-snapshots` for bulk updates.
27
+
- Use `.codex/skills/snapshot-unit-testing/scripts/accept-snapshot <TestClassName> <TestMethodName>` for a single test.
28
+
- Use `.codex/skills/snapshot-unit-testing/scripts/accept-all-snapshots` for bulk updates.
29
29
- Skip these scripts for non-snapshot tests.
30
30
31
31
Re-run tests and iterate until they pass.
@@ -35,9 +35,9 @@ Re-run tests and iterate until they pass.
35
35
- Run a single test:
36
36
-`dotnet test --filter "FullyQualifiedName~<TestClass>.<TestMethod>"`
0 commit comments