Somewhat improved test support in QSAC

2 views
Skip to first unread message

Norman Gray

unread,
Mar 10, 2009, 1:43:41 PM3/10/09
to skua-d...@googlegroups.com

Kona, hello.

I've somewhat improved the verbosity of the testing. If you rebuild
the qsac HEAD with the newly-released quaestor 0.5.5 (http://nxg.me.uk/dist/quaestor
) then:

% ant -Dtest.verbosity=1 test

will be a lot more chatty. Specifically, this will include the
service responses in the test output (this will of course sometimes
include error messages, the presence of which is what the test is
testing for, so this is a lot harder to read).

Also:

% java -jar qsac-standalone-0.3.jar --persistence-directory=null --
port=8081

will use the magic 'null' persistence directory to turn off
persistence. Note that in this case some of the persistence tests
will fail, correctly (in particular the persistent-ask-2-content test
you spotted). It would be nice to have the tests detect if
persistence has been deliberately been configured out and skip the
tests in that case, but I don't plan to handle this rather unusual
case unless you _really_ want me to!

See you,

Norman


--
Norman Gray : http://nxg.me.uk
Dept Physics and Astronomy, University of Leicester

Reply all
Reply to author
Forward
0 new messages