[qmtest] Database heirarchy
Zack Weinberg
zack at codesourcery.com
Tue Nov 19 09:29:15 UTC 2002
Simon Moses <moses at tabq.com> writes:
> Howdy,
>
> In the manual for Qmtest it says:
> "However, it is possible to create a test database which contains other
> test databases. This mechanism allows you to store the tests associated
> with different parts of a large application in different test databases,
> and still combine them into a single large test database when required."
> Does anyone know how to embed a test database in other test databases as
> described above?
We haven't completely implemented that yet. A partial nested-database
can be found in QMTest's CVS tree, in tests/QMTest/selfdb.py. It is
incomplete on two counts: first, it's read-only, even if the
sub-databases aren't; second, the list of sub-databases is wired into
the source code. And there might be other problems. But give it a
whirl and let us know what you think.
zw
More information about the qmtest
mailing list