>
> I don’t see a way to use %unit:before-module to initialize my databases
> before running unit tests in the same module.
>

I've successfully used %unit:before-module and %unit:after-module to set up
(db:create) and tear down (db:drop) databases respectively, and then
%unit:before to update them with test case documents (db:add/db:replace) in
the individual unit tests.
It's a bit fiddly at first, but it works.

Andrew

>

Reply via email to