Hi Tim,
I have used a custom formatter, if this is any help
class ExceptionFormatter < Cucumber::Ast::Visitor
def initialize(step_mother, io, options)
super(step_mother)
end
def visit_feature_name(name)
if name =~ /Feature:\s(.*)/i
@name = $1
else
@name = name
Would a wiki with these features interest anyone?
- config.yaml points to your projects
- serve, highlight, edit & run each Cucumber file
- paint the tested website in into an iframe
- update the iframe in realtime as the test runs
I have researched how to do each of those items, and I could
aslak hellesoy wrote:
2009/4/2 Tim Harper mailto:timchar...@gmail.com>>
Is currently a way to add a upon failure hook? I'd like to make
it so that, in the event of a failed assertion, Webrat will take
the last requested page and open it in a browser.
http://wiki.github.com/aslak
Bryan Helmkamp wrote:
> On Mon, Sep 22, 2008 at 9:57 PM, Scott Taylor
> wrote:
>> Let me know if you come up with something - I'd be interested in
>> contributing to such a project.
>
> I started working on a project I'm calling Testjour to solve this at
> http://github.com/brynary/testjour/tree/
Matt Wynne wrote:
Bryan Helmkamp wrote:
On Mon, Sep 22, 2008 at 9:57 PM, Scott Taylor
wrote:
Let me know if you come up with something - I'd be interested in
contributing to such a project.
I started working on a project I'm calling Testjour to solve this at
http://github.com/b
On 2 Apr 2009, at 02:25, Brandon Olivares wrote:
Hi,
I'm trying to write my first custom matcher.
Here's a bit of my example group.
describe "/contact/index" do
include FormMatchers
before(:each) do
render 'contact/index'
end
it "should show the contact form" do
response.should h
Hello all,
I am trying to unpack rspec 1.2.2 and rspec-rails 1.2.2 into my application.
I have them included in the test.rb environment file with config.gem options
as described on the Rspec github site.
I can unpack rspec-rails without issue, but when I try to do rspec nothing
happens. I mean t
On Thu, Apr 2, 2009 at 3:55 PM, Matt Wynne wrote:
>
> On 2 Apr 2009, at 02:25, Brandon Olivares wrote:
>
>> Hi,
>>
>> I'm trying to write my first custom matcher.
>>
>> Here's a bit of my example group.
>>
>> describe "/contact/index" do
>> include FormMatchers
>>
>> before(:each) do
>> render
On 2 Apr 2009, at 21:21, Joseph Wilk wrote:
If you are thinking Selenium then there is the Selenium grid
direction.
Thanks. Right now we're just running against the rails integration
session using Webrat, but that does definitely look useful for when we
get more Ajax heavy.
Matt Wynne
On 2 Apr 2009, at 18:56, Phlip wrote:
Would a wiki with these features interest anyone?
- config.yaml points to your projects
- serve, highlight, edit & run each Cucumber file
- paint the tested website in into an iframe
- update the iframe in realtime as the test runs
I have researched how t
Aidy,
This is a great work around, being disadvantaged only by having to specify a
different formatter :)
Still, a general purpose way of hooking in to the after feature fail would
be premium. Thanks for opening the ticket.
Tim
On Thu, Apr 2, 2009 at 10:31 AM, aidy lewis wrote:
> Hi Tim,
>
> I
Hi,
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of Matt Wynne
> Sent: Thursday, April 02, 2009 3:55 PM
> To: rspec-users
> Subject: Re: [rspec-users] Problem with Custom matcher and Blocks
>
>
> #have_selector is
Writing another post to Zach I had a thought about a quality metric
for Cucumber suites: Ratio of #steps executed / #step matchers
For example, if you can run 100 steps with only 10 step matchers, you
have a nice low ratio of 100 / 10, meaning you are getting loads of
testing done with only
On 2 Apr 2009, at 22:20, Brandon Olivares wrote:
Hi,
-Original Message-
From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
boun...@rubyforge.org] On Behalf Of Matt Wynne
Sent: Thursday, April 02, 2009 3:55 PM
To: rspec-users
Subject: Re: [rspec-users] Problem with Custom mat
On 2 Apr 2009, at 22:21, Zach Dennis wrote:
Matt, can you say where you gauge your app?
- Are there many little scenarios covering the details of the page?
- Are the scenarios comprised of many steps which look at all aspects
of the page?
- Are the step definitions detail oriented? e.g.: lookin
Hi again,
Well, I looked in the Webrat matchers code, and saw they also have a block
argument to the matches? Method, though I don't know why. So I copied what
they did there, and got a bit more informative output. Unfortunately now I
have more errors.
Before I continue, do you know why I have to
On Thu, Apr 2, 2009 at 3:12 PM, Peer Allan wrote:
> Hello all,
>
> I am trying to unpack rspec 1.2.2 and rspec-rails 1.2.2 into my application.
> I have them included in the test.rb environment file with config.gem options
> as described on the Rspec github site.
>
> I can unpack rspec-rails witho
Matt Wynne wrote:
Writing another post to Zach I had a thought about a quality metric
for Cucumber suites: Ratio of #steps executed / #step matchers
For example, if you can run 100 steps with only 10 step matchers, you
have a nice low ratio of 100 / 10, meaning you are getting loads of
testin
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of Matt Wynne
> Sent: Thursday, April 02, 2009 6:04 PM
> To: rspec-users
> Subject: Re: [rspec-users] Problem with Custom matcher and Blocks
>
>
> I don't think you wan
19 matches
Mail list logo