On Apr 21, 2005, at 12:00 PM, Nathan Gray wrote:
On Thu, Apr 21, 2005 at 11:17:11AM -0400, Stevan Little wrote:
Although after some discussion with nothingmuch on IRC, I think I have
come to good compromise.

We remove all the todo_ functions, and we add a named param "todo" to
all our test functions. This would allow test level TODO-ing.

Then we add the force_todo() function, to allow for file level TODO-ing.

And we introduce some kind of global variable/env variable to do test
suite wide TODO-ing.

I don't quite understand the global/env variable idea. Can you explain that in more detail?

It could be something as simple as this:

%*ENV<TODO_ALL_FOR_RELEASE> = 1;

It is really just a hack to allow for quick TODO-ing of all failing tests in the suite. I am not sure how well it will work out to be honest.


This should give us enough granularity of control as well as make it
simple to just "flip a switch" for release.

Any thoughts?

I really like the solution you've presented: clean and functional.

Thanks,

I have to give credit to nothingmuch, the "todo" named param was his idea :)


-kolibrie




Reply via email to