Displaying 7 results from an estimated 7 matches for "run_stories".
2007 Sep 14
2
Mocks in StoryRunner
...spec/lib/spec/story/runner/scenario_runner.rb:13:in
`instance_eval''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:13:in
`run''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:48:in
`run_stories''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:43:in
`each''
/home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:43:in
`run_stories''
/home/jhughes/dev/rj/csite/config/../vendor/pl...
2007 Sep 19
1
Strange error in StoryRunner (was: Mocks in StoryRunner)
...n
> > `instance_eval''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:13:in
> > `run''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:48:in
> > `run_stories''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:43:in
> > `each''
> > /home/jhughes/dev/rj/csite/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:43:in
> > `run_stories''
> &...
2007 Nov 15
2
Story adapter and SQLite Was:What command to run all stories?
.../database.rb:211:in
> `execute''
> ... 13 levels...
> from /home/edh/story/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:39:in
> `each''
> from /home/edh/story/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:39:in
> `run_stories''
> from /home/edh/story/vendor/plugins/rspec/lib/spec/story/runner.rb:41:in
> `register_exit_hook''
> from stories/additions/addition.rb:3
> This last part is happening in the at_exit part of Test:Unit
>
> Also, I don''t understand why the...
2007 Oct 16
6
RailsStory runner - empty response
...ner/scenario_runner.rb:14:in
`instance_eval''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb:14:in
`run''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:48:in
`run_stories''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:43:in
`each''
/Users/alvin/workspace/rspec-stories/config/../vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:43:in
`run_stories''
/Users/alvin/workspace/r...
2007 Nov 15
5
What command to run all stories?
...sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:211:in
`execute''
... 13 levels...
from /home/edh/story/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:39:in
`each''
from /home/edh/story/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb:39:in
`run_stories''
from /home/edh/story/vendor/plugins/rspec/lib/spec/story/runner.rb:41:in
`register_exit_hook''
from stories/additions/addition.rb:3
This last part is happening in the at_exit part of Test:Unit
Also, I don''t understand why the scenario''s are pendi...
2007 Dec 29
5
./script/story command
Below I''ve pasted a ./script/story command I''ve been using for about a
week. It has three modes of operation:
1. ./script/story with no arguments will run all *.story files in the story path
2. ./script/story with a path or glob will run the specified stories
3. If input is passed in via STDIN, it runs that text as a story. This
opens up story running via a simple interface
2008 Jun 14
15
Reusing story snippets
I find myself doing this:
Scenario "logged in user visiting the home page" do
Given "A logged in user" do
a_logged_in_user
end
When "..."
Then "..."
end
The a_logged_in_user method is a helper method in helper.rb which sets
up the state so that the user can browse the website.
Later in the story of course, I can just do ''Given