On 11/5/05, Martin van den Bemt <[EMAIL PROTECTED]> wrote:
> Automatic is always better. I'll add that one to JIRA if your ok with that.

+1, I'll have a look at it once I got the time.

> Also for these integration tests, it would be simplest to have the same 
> credentials for each
> database setup we test on. Eg the default administrator user, with password 
> x, always using a
> localhost, default port and the same databae name (eg ddlutils). This way too 
> much maintenance and
> confusing overrides can be avoided.

IMO the current solution is simpler (jdbc properties for the specific
databases). In my experience, it is a lot more difficult to administer
user and rights for databases than to edit jdbc properties files. With
a properties file, a user that wishes to execute the unit tests
against a particular database simply edits the corresponding
properties file (driver classname, url, username, password etc.) and
then runs the Ant task. And we need a properties file for each
database anyway, because the urls and drivers are always different.

Tom

Reply via email to