extension-cli icon indicating copy to clipboard operation
extension-cli copied to clipboard

Unit test commands

Open nkrusch opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Yes -- adding testing to these commands would give more confidence in not breaking them on changes.

Issue is these commands perform IO so they are not straightforward to test. Looking for examples.

nkrusch avatar Jan 14 '21 05:01 nkrusch

What you're probably looking for is an end to end test. This can still be achieved with sinon. It'll probably take a while to get e2e tests running though.

nicolas377 avatar Dec 24 '21 00:12 nicolas377