librelist archives

« back to archive

Cleanup in Litmus

Cleanup in Litmus

From:
Graham Lyons
Date:
2011-12-19 @ 23:03
Hello Noders,

Is there any way to hook into the 'finish' event in Litmus to clean up and
fixtures that might be generated during tests?

G

Re: [usenode] Cleanup in Litmus

From:
Richard Hodgson
Date:
2012-01-03 @ 12:25
Hi!

There should probably be setup and teardown events emitted at the
appropriate points.

Would that be enough, or were you after triggering something once *all* the
tests had been executed?

Richard

On 19 December 2011 23:03, Graham Lyons <graham@grahamlyons.com> wrote:

> Hello Noders,
>
> Is there any way to hook into the 'finish' event in Litmus to clean up and
> fixtures that might be generated during tests?
>
> G
>

Re: [usenode] Cleanup in Litmus

From:
Richard Hodgson
Date:
2012-01-09 @ 21:56
https://github.com/usenode/litmus.js/issues/3 :-)

On 3 January 2012 12:25, Richard Hodgson <rightaboutnow@gmail.com> wrote:

> Hi!
>
> There should probably be setup and teardown events emitted at the
> appropriate points.
>
> Would that be enough, or were you after triggering something once *all* the
> tests had been executed?
>
> Richard
>
>
> On 19 December 2011 23:03, Graham Lyons <graham@grahamlyons.com> wrote:
>
>> Hello Noders,
>>
>> Is there any way to hook into the 'finish' event in Litmus to clean up
>> and fixtures that might be generated during tests?
>>
>> G
>>
>
>