Skip to content

Deprecate test package#2801

Merged
mislav merged 10 commits intotrunkfrom
cmd-stub-new
Jan 22, 2021
Merged

Deprecate test package#2801
mislav merged 10 commits intotrunkfrom
cmd-stub-new

Conversation

@mislav
Copy link
Contributor

@mislav mislav commented Jan 18, 2021

Prevent further use of SetPrepareCmd and InitCmdStubber, both which led to hard-to-read tests whose stubs could easily fall out of date without the test itself breaking.

As a new approach, suggest that run.Stub() gets used instead.

Copy link
Contributor

@vilmibm vilmibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@mislav mislav merged commit bdce08a into trunk Jan 22, 2021
@mislav mislav deleted the cmd-stub-new branch January 22, 2021 16:34
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.

2 participants