search for: storyrunner

Displaying 8 results from an estimated 8 matches for "storyrunner".

Did you mean: story_runner
2007 Sep 19
1
Strange error in StoryRunner (was: Mocks in StoryRunner)
...ls reset!, leading to the errors on the top of the stack below. This is still happening after updating to the latest rspec trunk about 5 minutes ago. Rails version is 1.2.3. I''m sure this is something wrong with my code/setup, but I thought I''d bring it up again as it seems that StoryRunner should probably die with a more informative error when something''s wrong. thanks, James On 9/14/07, Pat Maddox <pergesu at gmail.com> wrote: > On 9/14/07, James Hughes <hughes.james at gmail.com> wrote: > > Hi, > > > > I''m trying to get up and...
2007 Dec 21
4
StoryRunner docs/guidance
Hi all, Are there any plans for better documentation for the new StoryRunner feature? I tried to use it today (with Rails), and had a hard time getting my head around whether I was doing it "right" and exactly what things are appropriate to test at that level (this might be exacerbated by the fact that I''ve never really used integration testing that much)...
2007 Sep 14
2
Mocks in StoryRunner
Hi, I''m trying to get up and running with StoryRunner. I have a story that looks something like the following, but the call to mock_model produces the exception listed below. Am I just misunderstanding the concept? Are mocks not meant to be used in stories like this? Or is this a bug? Changing @user to be an actual AR object makes things run without e...
2007 Dec 26
3
executing code after each step of a story
Hello, how can I execute some code after each step of a story. Is there some kind of listener documentated. Thank you in advance, Armin
2007 Dec 11
14
Attachment-fu + Story Runner
Hi all, I''m trying to run a Story Runner integration test that uploads a file through Attachment-fu. I''ve tried various ways of specifying the file data, from custom mocks: class MockFile < Struct.new (:original_filename, :read, :content_type); end fdata = MockFile.new "test_upload.txt", "Test Upload", "text/plain" to
2007 Oct 13
13
Story Runner: Readability of output with multiple params
Fistly, many, many thanks for RSpec and Story Runner. Minor request to improve readability of output Given a scenario item with multiple params.. Eg. And "the user belongs to", "Joe", "Acme" do |user_name, company_name| The readability of the following output is less than ideal.. "And the user belongs to company,Joe Public, No Videos" It would be
2007 Sep 16
10
I lost the RSpec fight
I''ve been working on a Rails project with one other developer; he was using Test::Unit, and I was using RSpec. That works OK for a while, but obviously it starts causing pain when you have to check in two places to see if a piece of code is properly tested/spec''d, you can''t use TextMate shortcuts to switch back and forth between code and test, you have to duplicate
2007 Oct 14
40
Step matchers
I think we all know that the readability of steps isn''t great right now, and in fact there''s a very recent thread that discusses just that. It was that recent thread that prompted me to explore this a bit. The basic idea is that you define step matchers, which have a regex, and then you match step names against that regex. Kind of tough for me to explain so I''ll just