Skip to content

Conversation

@wchargin
Copy link
Contributor

Summary:
Tests create uploaders and request senders with dependency-injected
stubs. As we add more such stubs, the test code bloats and requires
broad changes. By centralizing helpers, we can inject defaults that are
selectively overridden.

Test Plan:
Existing tests suffice.

wchargin-branch: uploader-test-di-helpers

Summary:
Tests create uploaders and request senders with dependency-injected
stubs. As we add more such stubs, the test code bloats and requires
broad changes. By centralizing helpers, we can inject defaults that are
selectively overridden.

Test Plan:
Existing tests suffice.

wchargin-branch: uploader-test-di-helpers
wchargin-source: b5da05e5125eea1248b67841b80a3094b0d9d5a4
@wchargin wchargin merged commit a91bea6 into master Feb 28, 2020
@wchargin wchargin deleted the wchargin-uploader-test-di-helpers branch February 28, 2020 21:11
bileschi pushed a commit to bileschi/tensorboard that referenced this pull request Mar 3, 2020
Summary:
Tests create uploaders and request senders with dependency-injected
stubs. As we add more such stubs, the test code bloats and requires
broad changes. By centralizing helpers, we can inject defaults that are
selectively overridden.

Test Plan:
Existing tests suffice.

wchargin-branch: uploader-test-di-helpers
@bileschi bileschi mentioned this pull request Mar 3, 2020
nfelt pushed a commit that referenced this pull request Mar 4, 2020
Summary:
Tests create uploaders and request senders with dependency-injected
stubs. As we add more such stubs, the test code bloats and requires
broad changes. By centralizing helpers, we can inject defaults that are
selectively overridden.

Test Plan:
Existing tests suffice.

wchargin-branch: uploader-test-di-helpers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants