[IPython-dev] How to organize test code

Thomas Kluyver takowl@gmail....
Tue Jun 12 14:48:18 CDT 2012


On 12 June 2012 20:23, Jörgen Stenarson <jorgen.stenarson@kroywen.se> wrote:
> What do you think about rewriting this using a class and proper
> setUp/tearDown methods instead?

In general, as Fernando says, go for it. I think the nature of the
history tests is that the later steps depend on the earlier ones
having already been done, so in this case the content of the tests may
have to be rejigged a bit to make them into independent parts.

Thanks,
Thomas


More information about the IPython-dev mailing list