commando
commando copied to clipboard
How do you test a command?
trafficstars
tl:dr; If I write a command, how do I test it
I've been using your Commando for a little while now. Very similar to PHP Symfony Console, which I have used since God was a small child. Now I need to unit test some production code that uses it. It's a bit opaque as to how you might do that. So just a little bit of documentation on how to set up a command so it can be tested in a unit test would be very gratefully appreciated.
Don't worry about virtual file systems - that's a subject for another repo (may come back here ;-) )
Regards chippyash
bump