[rspec-users] generate user-readable tests from Rspec tests?
dchelimsky at gmail.com
Tue Sep 13 02:14:03 EDT 2011
On Sep 13, 2011, at 1:51 AM, wolf volpi wrote:
> Sorry my question was not clear.
> Sidu Ponnappa wrote in post #1021398:
>> You can write your own Formatter if the existing ones don't work for
>>  http://cheat.errtheblog.com/s/rspec/
> I am mostly testing Java web applications (I do not know Rails). Will
> Formatter work without Rails?
>> The default RSpec document format is already available - just pass
>> `--format doc` as a param when running the specs.
>>  https://github.com/jeffkreeftmeijer/fuubar
> I watched the video and it looks like it just outputs test results. The
> output should be a test-narrative similar to:
> Given some context
> When some event occurs
> Then I expect some outcome.
> Then the end users will review the test-narrative before we start
> development. Is there a tool that can generate a test-narrative from
> Rspec tests or Watir tests?
See https://www.relishapp.com/rspec/rspec-core/docs/command-line/format-option. Also, you can get a good start by typing `rspec help`.
More information about the rspec-users