I've read the Wiki page on Writing Functional Tests
(http://wiki.g2.bx.psu.edu/Admin/Tools/Writing%20Tests) and I've been looking
through test/base and test/functional and I am left with two questions:
* Is it possible to write a test to validate metadata directly on an
(optionally composite) output dataset? Everything described on the above page
is file oriented. I see that there is TwillTestCase.check_metadata_for_string,
but as far as I can tell this is a bit nonspecific since it appears to just do
a text search on the Edit page. I don't yet fully understand the context in
which tests run, but is there some way to access a "live" dataset's metadata
directly, either as a dictionary or just as attributes? Or even to get the
actual dataset object?
* Does the test harness support retaining output files only for failed
tests? Ideally with a cap on how much output data to save. If not, would this
be difficult to configure?
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at: