Re: integration-test practices

2008-05-30 Thread Paul Davis
It looks like my original problem has been solved, it's an issue (bug?) with the latest version of the surefire plugin. http://www.nabble.com/Re%3A-Integration-testing-via-profile-fails-in-2.0.9-p17532410.html Maybe the plugin could use a little automated testing too ;-) On Tue, May 27, 2008 at

Re: integration-test practices

2008-05-27 Thread Jerome Lacoste
On Tue, May 27, 2008 at 11:34 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Tue, May 27, 2008 at 1:57 PM, Jerome Lacoste > <[EMAIL PROTECTED]> wrote: >> On Mon, May 26, 2008 at 1:41 AM, Kaizer H. Sogiawala <[EMAIL PROTECTED]> >> wrote: >>> A while back I came across a note about integration test

Re: integration-test practices

2008-05-27 Thread Wendy Smoak
On Tue, May 27, 2008 at 1:57 PM, Jerome Lacoste <[EMAIL PROTECTED]> wrote: > On Mon, May 26, 2008 at 1:41 AM, Kaizer H. Sogiawala <[EMAIL PROTECTED]> > wrote: >> A while back I came across a note about integration test - From a >> single project POM you can only choose to execute either unit or th

Re: integration-test practices

2008-05-27 Thread Jerome Lacoste
On Mon, May 26, 2008 at 1:41 AM, Kaizer H. Sogiawala <[EMAIL PROTECTED]> wrote: > A while back I came across a note about integration test - From a > single project POM you can only choose to execute either unit or the > integration test, not both. Could that be a factor in the outcome you > see?

Re: integration-test practices

2008-05-25 Thread Kaizer H. Sogiawala
A while back I came across a note about integration test - From a single project POM you can only choose to execute either unit or the integration test, not both. Could that be a factor in the outcome you see? On Thu, May 22, 2008 at 3:42 PM, Paul Davis <[EMAIL PROTECTED]> wrote: > Before my respo

Re: integration-test practices

2008-05-22 Thread Paul Davis
Before my response, I just want to say, I really appreciate you taking the time to help me with this. Yes, I am defining the src to look in "src/it/java". I heard a rumor that maven 2.1 would support that for integration tests so, I wanted to start using the location. I also have the integration

Re: integration-test practices

2008-05-22 Thread Wendy Smoak
On Thu, May 22, 2008 at 8:39 AM, Paul Davis <[EMAIL PROTECTED]> wrote: > I have found that if I place the resource (xml file) in both places, it > works > src/it/java > src/test/resources > However, if I only have one copy (in either location) it does not work. I wouldn't expect src/it/* to work,

Re: integration-test practices

2008-05-22 Thread Paul Davis
I actually meant src/test/resources I have found that if I place the resource (xml file) in both places, it works src/it/java src/test/resources However, if I only have one copy (in either location) it does not work. I didn't try "src/main/resources" because it's an integration test. Should I put

Re: integration-test practices

2008-05-21 Thread Wendy Smoak
On Wed, May 21, 2008 at 3:35 PM, Paul Davis <[EMAIL PROTECTED]> wrote: > It seems the documentation for the integration-test phase is pretty thin (as > in, where is it?). There are some notes on the wiki: http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing > I can't seem to

integration-test practices

2008-05-21 Thread Paul Davis
It seems the documentation for the integration-test phase is pretty thin (as in, where is it?). I can't seem to get "resources" accessible by the test code. Is there some undocumented "convention" I should be following?