Forum: RSpec rack app to browse specs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Joaquin Rivera P. (Guest)
on 2009-01-04 20:33
(Received via mailing list)
hello there,
Sometimes I find easier to browse my specs directly on the browser to
have
an overall idea of the logic.

To do it I have put up a simple rack app to:
- browse the contents of /spec directory on rails root
- run each spec and view the html formatted output (it does spec FILE -f
h)

It is only a .rb file to put on spec/ directory. If you will like to
give it
a try:
http://gist.github.com/43149

I hope it helps somebody ;-)
joaquin
Joaquin Rivera P. (Guest)
on 2009-01-06 18:49
(Received via mailing list)
hello there,
I've added support to browse/run cucumber features to the app, check it
out
in gist:
http://gist.github.com/43149

right now you can:
browse your spec/ and features/ directory
run specs and feature files living there.

it is only a .rb script to put into spec (or features) directory

I've also moved the gists to a normal repo at:
http://github.com/joahking/rack-rspec-html/tree/master

I hope it helps somebody ;-)
joaquin
This topic is locked and can not be replied to.