proxy.golang.org : github.com/rhysd/fakeio
Package fakeio is a small library to fake stdout/stderr/stdin mainly for unit testing. Following example fakes stdout/stderr/stdin. Set 'from stdin!' as stdin and get output from both stdout and stderr as string. Please read example/example_test.go to see live examples. If you find some bugs, please report it to repository page: https://github.com/rhysd/go-fakeio
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/rhysd/fakeio
License: MIT
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/rhysd
Last synced: about 15 hours ago