Re: [rspec-users] HTML Story Formatter

2008-08-08 Thread Joseph Wilk
Hello, Hope you had a nice break David. I've been thinking about hidden backtraces in the html stories some more and I think having them carries little to no impact for the non-tech consumers of the stories. I think its similar to how we use Nagios. The business like to look at the nice red a

Re: [rspec-users] HTML Story Formatter

2008-08-05 Thread David Chelimsky
On Tue, Jul 29, 2008 at 2:28 PM, Joseph Wilk <[EMAIL PROTECTED]> wrote: >> Ahh, good to know. Does that mean that the HTML isn't outputted until >> all of the scenario's are ran for a particular story? > > Exactly. It made the html much nicer but did loose that per scenario > output. I added a pro

Re: [rspec-users] HTML Story Formatter

2008-07-29 Thread Joseph Wilk
> Ahh, good to know. Does that mean that the HTML isn't outputted until > all of the scenario's are ran for a particular story? Exactly. It made the html much nicer but did loose that per scenario output. I added a progress bar formatter so I could still get that direct scenario feedback, be it

Re: [rspec-users] HTML Story Formatter

2008-07-28 Thread Ben Mabey
Joseph Wilk wrote: Which brings up the other question.. how do we want to handle the JS? Due to how the HTML is written out JS is required to change the Story's and Scenario's styles when a step fails or is pending. I did this with lowpro for the rspec-story-tmbundle: The current html for

Re: [rspec-users] HTML Story Formatter

2008-07-28 Thread Joseph Wilk
> Which brings up the other question.. how do we want to handle the JS? > Due to how the HTML is written out JS is required to change the Story's > and Scenario's styles when a step fails or is pending. I did this with > lowpro for the rspec-story-tmbundle: The current html formatter in trunk no

Re: [rspec-users] HTML Story Formatter

2008-07-27 Thread Jonathan Leighton
On Sat, 2008-07-26 at 16:38 -0600, Ben Mabey wrote: > Any other suggestions/ideas of how to handle the external JS files? Wasn't there some Google-hosted JS lib repository launched a little while ago? That could be used for Prototype? Jon -- Jonathan Leighton http://jonathanleighton.com/ _

Re: [rspec-users] HTML Story Formatter

2008-07-26 Thread Ben Mabey
David Chelimsky wrote: > On Fri, Jul 25, 2008 at 8:08 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote: > >> To handle this I wrote a patch which delivered the styles in the html formatters output. In much the same way as the html spec formatter does. >> I know Aslak Hellesøy has been looking at the edita

Re: [rspec-users] HTML Story Formatter

2008-07-25 Thread David Chelimsky
On Fri, Jul 25, 2008 at 8:08 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote: > To handle this I wrote a patch which delivered the styles in the html > formatters output. In much the same way as the html spec formatter does. > > I know Aslak Hellesøy has been looking at the editable html stories. > > Is

Re: [rspec-users] HTML Story Formatter

2008-07-25 Thread Joseph Wilk
To handle this I wrote a patch which delivered the styles in the html formatters output. In much the same way as the html spec formatter does. I know Aslak Hellesøy has been looking at the editable html stories. Is it acceptable to have stories have styles embedded in the html formatter until A

Re: [rspec-users] HTML Story Formatter

2008-07-24 Thread Jonathan Leighton
Thanks for both your answers. The copying rake task was pretty useful as I was basically intending to write the same thing after I read David's message :) Jon On Thu, 2008-07-24 at 09:29 -0700, Christopher Bailey wrote: > For another variant, with my CC.rb setup, I have a rake task as follows: >

Re: [rspec-users] HTML Story Formatter

2008-07-24 Thread Christopher Bailey
For another variant, with my CC.rb setup, I have a rake task as follows: desc "Copy RSpec Story HTML includes" task :copy_story_html_includes do if ENV['CC_BUILD_ARTIFACTS'] stories_output_dir = File.join(ENV['CC_BUILD_ARTIFACTS'], 'Stories') system "mkdir #{stories_output_dir}

Re: [rspec-users] HTML Story Formatter

2008-07-24 Thread David Chelimsky
On Thu, Jul 24, 2008 at 7:32 AM, Jonathan Leighton <[EMAIL PROTECTED]> wrote: > Hiya, > > I am trying to use the HTML Story Formatter in conjunction with > CruiseControl.rb. I have got it outputting the stories to a file, but I > notice there are CSS and JS files linked in the head, which don't app

[rspec-users] HTML Story Formatter

2008-07-24 Thread Jonathan Leighton
Hiya, I am trying to use the HTML Story Formatter in conjunction with CruiseControl.rb. I have got it outputting the stories to a file, but I notice there are CSS and JS files linked in the head, which don't appear to be anywhere in the rspec repository. Are these files available and if so where?