Dag H. Wanvik wrote:
"John H. Embretsen (JIRA)" <[EMAIL PROTECTED]> writes:
Several demos are included in Derby's -bin distributions, but there
are almost no tests in place to verify that these demos still work
as expected, or that they work at all. There should be (JUnit?)
tests in place testing at least some of these demos in their
intended environments. These test should be run at regular
intervals, for example as part of the release process, or as part of
Sounds like a minimum; another item to the checklist or the release
manager? ;)
the regular regression test suites.
How long does it take to run them all?
Not sure. I think most of them only take a few seconds to run. But I have not
tried them all.
There is currently one demo test in
java/testing/org/apache/derbyTesting/functionTests/tests/demo/, called
checkToursDB.java (old harness).
Is this run as part of regression tests?
Yes, it is run as part of the demo suite in derbyall.
I also discovered that the simple demo (SimpleApp) is being run as a regression
test as well, see my latest comment in Jira to DERBY-3204.
--
John