I'd like to run RSpec with stdin instead of a file. And I want to control the formatter and other options. I'm finding this a little tricky, because:
- I don't see an RSpec CLI option for reading from stdin. - Although RSpec can be run via *ruby*, ( $ cat example_spec.rb | ruby -rrspec/autorun ) I don't see how to pass options. I can only pass options via the standard configuration file lookup. So: I can either use rspec, and set all the options I need but not read from stdin, or use ruby and read from stdin, but not be able to set options cleanly. Is there a way to do this which I've missed? Thanks! -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/7a0b93f2-e808-4747-89d8-229d1e75e791%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
