benschwarz / bonsai

A tiny static web site generator
http://tinytree.info/
MIT License
297 stars 39 forks source link

Testing Bonsai sites with Cucumber and Webrat #6

Closed ornamentist closed 14 years ago

ornamentist commented 14 years ago

I'm not sure this is an "issue" as such, but I was wondering if anyone is using Cucumber and/or Webrat for testing static sites generated with Bonsai?

Stu

benschwarz commented 14 years ago

Hey Stu, I probably would've posted on the google group instead but its really fine. I haven't heard of anyone using cucumber to test a bonsai site.

I don't have a lot of bandwidth right now so if you want to have a stab and send me a patch I'd be happy to look over it on the weekend or something.

Otherwise I'll leave it in mind.

ornamentist commented 14 years ago

Now I think about it more Cucumber testing doesn't need to be integrated into Bonsai just yet--it can sit alongside the top level Bonsai directories. Here's a useful blog post of someone doing this to "specify" a Google search:

http://blog.jcoglan.com/2009/10/03/getting-started-with-cucumber-rspec-webrat-and-multiruby/

benschwarz commented 14 years ago

Good stuff. After thinking about it I didn't want to provision for this. I feel as though this can be done externally easily enough for those who wish to.