I think it makes perfect sense, Clint, and would love to hear what others
have to say.

I've often built 'test libraries' or code that is shared among a set of
unit tests.  No point in duplicating code just because you're writing tests
IMO.

-nathan

On Sun, Oct 14, 2012 at 4:39 AM, Clint Priest <cpri...@zerocue.com> wrote:

> Would it be frowned upon to use include(); within a set of tests to
> include base code against which multiple tests can be run?
>
> I've got around 80 tests now and a change to the RFC is going to require
> probably 100% of them to have some change.  In addition, there are
> variations of the same test (each of which will fatal error) and they can
> all use the same "base class."
>
> What do you think?
>
> Thanks,
>
> -Clint
>

Reply via email to