RE: [m2] Problem: How to run some tests only sometimes

2005-11-03 Thread Dave Neuer
plugin (or even skip them all for a project) based on the profile in use. - Brett On 11/3/05, Brill Pappin [EMAIL PROTECTED] wrote: I used to do this with a special goal in the maven.xml but since it no longer graces m2, I would love to hear a solution as well. - Brill Pappin On 11/2/05, Dave

[m2] Problem: How to run some tests only sometimes

2005-11-02 Thread Dave Neuer
So, here's my situation, I really hope someone can help figure out how to do this. I have currently got 2 projects, one's a library, the other is more like an application, and depends on the library. The lib project tests only use Mocks, because they're common objects not tied to a product or

RE: [m2] Surefire doesn't discover new tests

2005-10-05 Thread Dave Neuer
Does this go for abstract base classes too? I.e., Will surefire find tests defined in a superclass whose name doesn't look like that? Dave -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 7:29 PM To: users@maven.apache.org Subject: Re:

RE: Cross-project dependencies on unit test code

2005-09-29 Thread Dave Neuer
-Original Message- From: Tim Dysinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 12:39 PM To: [EMAIL PROTECTED]; Brett Porter Cc: Maven Users List Subject: Re: Cross-project dependencies on unit test code Ok. Let's say we did it that way. We are still faced with

RE: Cross-project dependencies on unit test code

2005-09-29 Thread Dave Neuer
Answers: 1) There needs to be an API package so that the Impl and Test packages can both depend on it (otherwise your base tests would depend on the impl classes, but your impl depends on the base tests, creating a circular dependancy). 2) How do you ensure that any factory returns any kind of

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Dave Neuer
John, I appreciate your thoughful and reasonable responses to questions/issues like this. I have to second Ashley on this one. Please try not to take the following personally, but consider it one person's bad experience w/ trying to use m2 to do what seems like a simple thing... I really like

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Dave Neuer
- From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 2:05 PM To: Maven Users List Subject: Re: [m2] reasons for sticking with maven Dave Neuer wrote: However, I don't like having no ability to reuse test code from one project in another project which depends

RE: [m2] reasons for sticking with maven

2005-09-20 Thread Dave Neuer
-tests.jar | | and you could then depend on it like such: | | dependency | ~ groupIdsome.group/groupId | ~ artifactIda/artifactId | ~ versionsomeVersion/version | ~ typetest-jar/type | ~ scopetest/scope | /dependency | | would that solve the problem? | | -john | | Carsten Ziegeler wrote: | | Dave

RE: [m2] whether to use ant

2005-09-14 Thread Dave Neuer
This is kind of like saying: we don't have the spare cycles for unit testing; we're spending all of our time fixing bugs. Fact is, taking a few cycles off of frantic coding to do some decent documentation would allow more developers to contribute, which *could* give everyone more spare cycles.

[m2] Finding a plugin we wrote?

2005-08-29 Thread Dave Neuer
Hi, In order to be able to reuse test code (see http://mail-archives.apache.org/mod_mbox/maven-users/200508.mbox/%3cD1BD [EMAIL PROTECTED]), I've written a plugin which will create a test artifact so that other projects can depend on that. However, I'm only able to invoke the plugin if it's in

RE: [m2] Finding a plugin we wrote?

2005-08-29 Thread Dave Neuer
Sorry to waste bandwidth, fixed this myself (needed a RELEASE.version.txt file). Thanks anyway. Dave -Original Message- From: Dave Neuer Sent: Monday, August 29, 2005 4:55 PM To: users@maven.apache.org Subject: [m2] Finding a plugin we wrote? Hi, In order to be able to reuse test

[m2] Test reuse: fundamental design flaw or RTFM?

2005-08-19 Thread Dave Neuer
Hi, I have a project A, and a project B that depends on A. A has test code which includes both abstract, invariant-checking base classes and regular tests under src/test. Project B would like to reuse the base classes from project A's src/test. Searching for a way to do this in maven2