[rspec-users] Mocking and specing command line (cli) execution, file operations etc. ?

Kristian Mandrup kmandrup at gmail.com
Sun Jun 6 19:42:00 EDT 2010


What are the options for creating specs for file operations, executing
commands in the CLI etc.?

If I build a generator or something which runs a lot of things in the
command line, how do I check the results of these operations, fx
mocking file system updates and/or mocking the STDOUT/STDIN from the
terminal?

There must be some add-on libraries or options for this out there to
make it easy to accomplish.
- Kristian


More information about the rspec-users mailing list