On Tue, Aug 14, 2012 at 8:09 PM, Alec Leamas <leamas.alec(a)gmail.com> wrote:
Stanislaw and I have had a long discussion on IRC today. We have
agreed
on a new interface to the test (a. k. a. check) object to be a bunch of
properties and a single run() method. Compared to today, it means that the
is_applicable() function is no more part of the interface. Instead, run()
returns 'not_applicable' as needed.
Unfortunately, we have designed two ways to implement this in the python
context: one based on inheritance, and one based on decorators. Noone of us
sees it as a major problem to select any solution, but we must decide. And
needs some input.
I like the inheritance based one best, much easier to read and understand :)
Tim