How do I pass a username/password to a Junit test

2007-05-09 Thread Walker_Les
I've seen this question asked a few places before, but the only responses that I've seen have been either dead links or links to reference material that doesn't actually explain the "how" of it. I have a unit test that connects to a database using a username and password in a system property as de

[SOLVED] RE: How do I pass a username/password to a Junit test

2007-05-09 Thread Walker_Les
That did it. I thought that I had tried that, but without knowing which approach to take it's difficult to spend time debugging any one approach. Junit code: @BeforeClass public static void initClass() { dbusr = System.getProperty("dbusr"); dbpwd = System.getProperty("dbpw

Project dependencies in test classes

2007-06-01 Thread Walker_Les
I think that this has been dealt with before in the past, but only as a shortcomming of maven. I'm trying to find whether a feature has been added to remedy this... I have two projects that are dependent on each other B --> A. Project A provides some infrastructure that project B uses to implement

RE: Project dependencies in test classes

2007-06-01 Thread Walker_Les
> As for this being a "shortcoming" of Maven, this is simply an > inaccurate statement. Then it's a good thing that I didn't say that. As for missing it being posted today, I searched the archives and didn't find it. Thanks for the pointer, I'll go and read that thread. -- Les -Original Me