Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Junit tests

----- Original Message -----
From: "Florin Iucha" <florin@xxxxxxxxx>
To: <stellation-res@xxxxxxxxxxxxxxx>
Sent: Friday, October 25, 2002 9:07 AM
Subject: Re: [stellation-res] Junit tests
You have a good point about the value of a test results database which I had
not considered. It seems to me that the ideal would be to have the Junit
test suite either add results to an existing database or create a new one
for the purpose of the tests. How does this sound as a possiblity?

1) If the database tables are not present or not complete, blow away the
existing database and re-initialize. The first condition covers the initial
run in a new environment and the second, recovery from a catastrophic
failure.

2) Use a Java property to determine whether to blow away an intact database.
This option would default to leaving the database intact. The Java property
is a substitute for a command line argument and allows the suite to run in
environments where main() is not called such as from Eclipse or when running
the tests using the Ant Jrunner.

3) In addition, I would like to use a Java property to provide database
location parameters. If present this parameter would override the location
parameters from the .svcrc initialization file.

Regards

Jonathan

Personal Email
jgossage@xxxxxxxx

Business Email
jonathan@xxxxxxxxxxxxxx






Back to the top