[rspec-users] color output?
jonathan at parkerhill.com
Tue Oct 2 14:07:49 EDT 2007
I have a story with a bunch of different scenarios that vary by just
one (or two) things. In fact, within the story I've written a method
that sets up the common set of Givens, and another than checks for a
common set of results, e.g.
Scenario "no User record" do
And "**system has no user**", "Invitee" do |username|
When "inviting a new user", "Invitee" do |username|
@invitee_email = make_email username
memberships", :email => @invitee_email,
Actually that's kind of besides the point, except to say the
scenarios may have a bunch of Givens, but only one or two change from
one scenario to the next.
So I've highlighted the thing thats different about this scenario
with asterix ("**system has no user**"). The next scenario may say
And "**Invitee is registered but not a member of this project**"
Feature request: let me use color to highlight the text that
describes whats different from one scenario to the next
On Oct 2, 2007, at 11:34 AM, David Chelimsky wrote:
> On 10/2/07, David Chelimsky <dchelimsky at gmail.com> wrote:
>> Not yet. Patches welcome!
> Actually - there's nothing to patch yet - we plan to align the runners
> in the near future. So ....
> Not yet. Coming soon!
>> On 10/2/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
>>> does story runner have commandline options ,eg to add color to
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users