Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop exporting exec.Cmd versions of methods #25

Merged
merged 1 commit into from
Jul 13, 2020
Merged

Conversation

paultyng
Copy link
Contributor

@paultyng paultyng commented Jul 12, 2020

We should only export the methods that execute commands to force all compatibility needs through the controlled interfaces (options, etc), as opposed to letting consumers further customize things like environment. This defeats the purpose of having a canonical testing interface for programmatic CLI invocation.

(per the RFC discussion)

This is based on #23

@paultyng paultyng changed the base branch from master to splitfiles July 12, 2020 17:22
@paultyng paultyng requested a review from kmoe July 12, 2020 17:23
@kmoe
Copy link
Member

kmoe commented Jul 13, 2020

Thanks; please rebase #7, #23, #24, and #25 so that CI can be run.

For now we should use the running methods to force all compatibility needs through the controlled interface, as opposed to letting consumers further customize things like environment.
@paultyng paultyng merged commit c11057b into master Jul 13, 2020
@paultyng paultyng deleted the noexportcmd branch July 13, 2020 16:43
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