search for: ahnv

Displaying 9 results from an estimated 9 matches for "ahnv".

Did you mean: yhnv
2007 Apr 11
5
Default exclude pattern in 0.9.0
...ot;rspec" rake task collects all _spec files in the spec directory, and excludes the "watir" directory. Is this indicating a preference for using Watir over Selenium? I would like it better to standardize on something more neutral, ''ui'' perhaps? /Marcus -- Marcus Ahnve http://marcus.ahnve.net
2007 May 29
2
Selenium, Spec:Ui and ... forks?
...r.kill! rescue nil The problem is that the browser is killed before the specs are run. Anyone has an idea why this is happening? On a related sidenote, a listener interface in RSpec would be quite nice, could the Spec::Runnner::Reporter be used for that? /Marcus Cheers /Marcus -- http://marcus.ahnve.net
2007 Jul 06
5
Outside-In with RSpec on Rails
I just read ''Mocks Aren''t Stubs'' and was intrigued by the notion of ''outside-in'' TDD. As a Rails developer, I''m curious if others are employing this method when developing Rails applications using RSpec. Is it common practice (or even practical) to drive the development of a Rails app by starting with view specs, then controller specs, then
2007 Oct 17
9
plain text stories: motivation number 27
This is mostly theoretical, but ... I''m starting to use lighthouse (http://llighthouseapp.com) for my projects at work. I''m organizing iterations as milestones and stories as tickets tagged to a milestone. Lighthouse offers an API so that you can write access the data in your account and write apps to process that data. I think you see where this is going. It seems to me that
2007 Apr 17
8
problem with rspec_on_rails and @controller.should_receive(:render) in trunk
Hey guys! I am using rspec trunk, and I am having a little problem with the latest version. (I am quite sure this worked with an older version about a week ago) heres the spec: it "should render the new user form without layout for a xhr request" do @controller.should_receive(:render).with(:layout=>false) xhr :get,:new end and the controller: def new render
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest 3.50 now handles your RSpec specs. http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html That''s a great news. Josh also shared with me a quick hack to make autotest work with only the RSpec plugin installed. Add the following into your ~/.autotest file
2007 Jul 25
5
MockCov: Proof of concept
Hey list, RSpec is great, I''ve been using it at work for a couple of months now. One gripe I have is that I find it hard to know exactly to what extent my code is covered by the specs. I am aware of RCov and Heckle; they''re great, but I''d like to demonstrate another perspective of coverage analysis I''ve hacked up. The perspective is that of what is mocked and
2007 May 04
0
Capistrano and RSpec
...and for reasons unknown to me, "cap migrate" requires the RSpec rake file. As RSpec is only loaded in the test environment, the migration fails. This may be a Capistrano question, but I figured I start here to see if anyone else has had the same problem. Cheers /Marcus -- http://marcus.ahnve.net
2008 Jan 23
13
DRYing up stories
I''m finding that I''m writing sets of very similar scenarios to check access permissions for each of my actions. Does anyone have suggestions on how to dry this up: Given an existing Account And a logged in Admin When the user visits account/manage Then he should get access Given an existing Account And a logged in Manager When the user visits account/manage Then he should get