bmizerany/roundup

roundup helpers

benburkert opened this issue · 1 comments

Hi, I've been using roundup and it's been working great, but i'd like to consolidate/abstract a lot of similar tests using helper functions and common variables. Is roundup the right place for something like a 'test_helper', or is this outside the scope of roundup? I'd be willing to work on a patch for this (something like a --helper option), unless of course there's a better way that you recommend.

thanks.

It's possible to source the helper file before the roundup run (that's what i currently do), but then you would probably want a wrapper script to run it manually (source the helper then execute roundup). Also, you would not get roundup's nice backtrace for errors in your helper. I'll reopen this when I have a patch.