I’m taking my first fledgling steps driving a new ruby (non-rails)
project with BDD. I’ve got a (test) story working. However, when I
run the story in TextMate (via command-r), the output is plain text.
See: Skitch | Evernote
How do I get the output to look pretty (formatted)?
rspec-1.1.3
OS X 10.5.2
TextMate v1.5.7 (1455)
Thanks,
/g
–
George A.
BenevolentCode LLC
O: (410) 461-7553
C: (410) 218-5185
[email protected]
On Mon, Mar 3, 2008 at 11:41 PM, George A.
[email protected] wrote:
I’m taking my first fledgling steps driving a new ruby (non-rails)
project with BDD. I’ve got a (test) story working. However, when I
run the story in TextMate (via command-r), the output is plain text.
See: Skitch | Evernote
How do I get the output to look pretty (formatted)?
There’s no textmate formatter for stories yet. In the mean time, you
can do it on the command line with --format html and open the
resulting file in a browser.
Cheers,
David
On Mar 3, 2008, at 10:19 PM, David C. wrote:
In the mean time, you
can do it on the command line with --format html and open the
resulting file in a browser.
Er… stories? How do you format story output as html?
Like David said. Not working for you?
Aslak
On Tue, Mar 4, 2008 at 12:19 AM, David C. [email protected]
wrote:
There’s no textmate formatter for stories yet. In the mean time, you
can do it on the command line with --format html and open the
resulting file in a browser.
Cheers,
David
David,
Is this something in trunk? all.rb does not except any arguments, and
there is no argument to the run command for this. Also, the svn server
seems to be offline this morning.
Ed
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
–
Ed Howland
“The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers.”
On Tue, Mar 4, 2008 at 2:18 PM, Ed Howland [email protected] wrote:
Is this something in trunk? all.rb does not except any arguments, and
there is no argument to the run command for this. Also, the svn server
seems to be offline this morning.
This is in the latest release. Just pass --format html on the ocmmand
line. ARGS is read by one of the internal files in RSpec - not all.rb.
Try --help too.
Aslak
On Tue, Mar 4, 2008 at 3:32 PM, Ed Howland [email protected] wrote:
The output seems a bit crude. I have to drop the output in public and
copy the css there, or put it in
vendors/plugins/rspec/story_server/prototype.
Also, I can’t seem to get the summarized output like the example in there.
Yeah, it’s only a start. Patches are welcome as usual.
Aslak
On Tue, Mar 4, 2008 at 7:24 AM, aslak hellesoy
[email protected] wrote:
This is in the latest release. Just pass --format html on the ocmmand
line. ARGS is read by one of the internal files in RSpec - not all.rb.
Try --help too.
Aslak
Thanks, Aslak. Seems I was consuming ARGV prematurely in my own story
runner.
The output seems a bit crude. I have to drop the output in public and
copy the css there, or put it in
vendors/plugins/rspec/story_server/prototype.
Also, I can’t seem to get the summarized output like the example in
there.
Ed
On Tue, Mar 4, 2008 at 6:11 PM, s.ross [email protected] wrote:
RSpec-1.1.3 (build 20080131122909) - BDD for Ruby
ruby stories/all.rb --format html
and this outputs text. Where would the html go?
I forgot - this is an old bug - not working with rails, only “vanilla”
http://rspec.lighthouseapp.com/projects/5645/tickets/113-13547-story-runner-html-formatted-output
Aslak
On Mar 4, 2008, at 5:24 AM, aslak hellesoy wrote:
This is in the latest release. Just pass --format html on the ocmmand
line. ARGS is read by one of the internal files in RSpec - not all.rb.
Try --help too.
Aslak
I must be dense:
RSpec-1.1.3 (build 20080131122909) - BDD for Ruby
ruby stories/all.rb --format html
and this outputs text. Where would the html go?
On Mar 4, 2008, at 9:26 AM, aslak hellesoy wrote:
I forgot - this is an old bug - not working with rails, only “vanilla”
Lighthouse - Beautifully Simple Issue Tracking
Ok, I feel a little less dense now