Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Wendy Smoak
On 6/6/06, David H. DeWolf <[EMAIL PROTECTED]> wrote: I've been lucky find a solution, but it took a bit of playing around. The key problem I was having was making sure that: 1) the tests were in src/it were compiled in addition to src/test 2) the integration tests were not executed during tes

RE: Maven2 and Functional/Integration Tests

2006-06-06 Thread David H. DeWolf
> I haven't been successful at getting Surefire to run during > integration-test instead of test, but I have a couple of > questions out on [EMAIL PROTECTED] looking for ideas. I've been lucky find a solution, but it took a bit of playing around. The key problem I was having was making sure th

Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Wendy Smoak
On 6/5/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: The problem I keep running into is that there is only one /, and there is no // in the model. If that existed, it seems like you could get another execution of Surefire using a second source directory. Returning to the idea of best practices a

Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Craig McClanahan
On 6/5/06, Brett Porter <[EMAIL PROTECTED]> wrote: On 06/06/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > Maven2 needs to support integration testing as a first class notion in the > architecture of what you envision a "project" to be. It may not have been clear enough, but that's exactly w

Re: Maven2 and Functional/Integration Tests

2006-06-05 Thread Wendy Smoak
On 6/5/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: What's needed is a complete additional test environment, with its own lifecycle, and its own classpath (i.e. dependencies tagged to this scope so you only load things like HttpUnit or HtmlUnit here). If integration tests exist, they should b

Re: Maven2 and Functional/Integration Tests

2006-06-05 Thread Brett Porter
On 06/06/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: Maven2 needs to support integration testing as a first class notion in the architecture of what you envision a "project" to be. It may not have been clear enough, but that's exactly what I meant in my last email. I thought this is what th

Re: Maven2 and Functional/Integration Tests

2006-06-05 Thread Craig McClanahan
On 6/5/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 6/5/06, Brett Porter <[EMAIL PROTECTED]> wrote: > It *should* still be possible to achieve what you want currently (I > thought Vincent's chapter discussed that, but I don't might be > mistaken). It may take some effort, though, and I'm not s

Re: Maven2 and Functional/Integration Tests

2006-06-05 Thread Wendy Smoak
On 6/5/06, Brett Porter <[EMAIL PROTECTED]> wrote: It *should* still be possible to achieve what you want currently (I thought Vincent's chapter discussed that, but I don't might be mistaken). It may take some effort, though, and I'm not sure of any existing examples. The 'integration-test' phas

Re: Maven2 and Functional/Integration Tests

2006-06-05 Thread Brett Porter
It'll probably get closed as a duplicate, but thanks for the input. It *should* still be possible to achieve what you want currently (I thought Vincent's chapter discussed that, but I don't might be mistaken). It may take some effort, though, and I'm not sure of any existing examples. The 'integr

Re: Maven2 and Functional/Integration Tests

2006-06-05 Thread Craig McClanahan
On 6/5/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 6/5/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > If I'm reading 'Better Builds With Maven" correctly, it seems that the > recommended practice for functional or system integration tests for webapps > (i.e. where you deploy the app to a se

Re: Maven2 and Functional/Integration Tests

2006-06-05 Thread Wendy Smoak
On 6/5/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: If I'm reading 'Better Builds With Maven" correctly, it seems that the recommended practice for functional or system integration tests for webapps (i.e. where you deploy the app to a server and then execute HTTP requests and examine the resul