Skip to content

docs(dart-test-fundamentals): add test seams, fakes over mocks, and anti-patterns - #55

Merged
kevmoo merged 3 commits into
mainfrom
feat/test-design-and-doubles
Oct 1, 2026
Merged

kevmoo merged 3 commits into
mainfrom
feat/test-design-and-doubles

Conversation

@kevmoo

@kevmoo kevmoo commented Oct 1, 2026

Copy link
Copy Markdown
Owner
  • Add Section 6 covering package entrypoint vs. lib/src/ deep-module unit test seams.
  • Document the Real -> Fake -> Stub -> Mock hierarchy (Directory.systemTemp, package:http/testing.dart MockClient over package:mockito @GenerateNiceMocks, and @TestOn('browser') over VM DOM stubs).
  • Document constant-echo tautologies and executable source-file regex proxy anti-patterns.

kevmoo added 3 commits October 1, 2026 14:42
…nti-patterns

- Add Section 6 covering package entrypoint vs. `lib/src/` deep-module unit test seams.
- Document the `Real -> Fake -> Stub -> Mock` hierarchy (`Directory.systemTemp`, `package:http/testing.dart` `MockClient` over `package:mockito` `@GenerateNiceMocks`, and `@TestOn('browser')` over VM DOM stubs).
- Document constant-echo tautologies and executable source-file regex proxy anti-patterns.
@kevmoo
kevmoo merged commit 387b257 into main Oct 1, 2026
7 checks passed
@kevmoo
kevmoo deleted the feat/test-design-and-doubles branch October 1, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant