dcadenas / rubydeps

A tool to create class dependency graphs from test suites
MIT License
146 stars 10 forks source link

Framework independent #1

Closed trans closed 12 years ago

trans commented 12 years ago

You might be able to use an at_exit technique, or something similar to how coverage tools like simplecov work, instead of have to write special runner code for every supported test framework. That way any test framework could be used regardless.

dcadenas commented 12 years ago

On it, thanks

dcadenas commented 12 years ago

Done. So now you need to add Rubydeps.start in your test framework helper file and that should be enough. The executable file is still there to be able to play with filters on the dependency file. For the moment the start method doesn't accept a block, I think that's not needed for the moment.

Thanks for the feedback!

trans commented 12 years ago

Awesome! Thank you!

Now I can try it out with my RubyTest based test libraries!