zachinglis / crummy

Tasty breadcrumbs! Crummy is a simple and tasty way to add breadcrumbs to your Rails applications.
http://zachinglis.com
MIT License
358 stars 82 forks source link

Chore embed crummy-test in crummy #34

Closed gonzalo-bulnes closed 11 years ago

gonzalo-bulnes commented 11 years ago

Hi @zachinglis ! Yesterday, taking a look at Crummy I read what you had written in the Crummy-test about not having found a satisfactory way to test your gem from inside. I also read some posts you wrote about learning and teaching, and I liked them.

A few weeks ago, I saw an example app embedded into a gem (TBK) and I found that quite clean. I liked the idea, some aspects of some gems just can't be tested without an app. The example app becomes part of the documentation or part of the test suite and can be maintained as so. Debugging also becomes a lot less painful without the need to bump versions for any change.

If you hadn't seen this done before, here is an example, I hope it'll help you.

andrew commented 11 years ago

Looks good, thanks so much!

I'll also add you as a contributor to the project

gonzalo-bulnes commented 11 years ago

Hi @andrew , glad that was useful, thanks for the push access!

zachinglis commented 11 years ago

@gonzalo-bulnes Seriously appreciated :) Something I've wanted to do for a while.