You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@basistech.com> on 2007/11/01 14:18:41 UTC

rt/javascript pom doesn't run tests

I cribbed the rt/javascript pom.xml from what seemed a relevant example,
but 'mvn' doesn't run my tests in when run from that directory. Help?

RE: rt/javascript pom doesn't run tests

Posted by "Jiang, Ning (Willem)" <Ni...@iona.com>.
It is because your test class's name *Tests. 
You can find the key from my coming up commit :)

Willem.

-----Original Message-----
From: Benson Margulies [mailto:bim2007@basistech.com]
Sent: Thu 11/1/2007 21:18
To: Daniel Kulp
Cc: cxf-dev@incubator.apache.org
Subject: rt/javascript pom doesn't run tests
 
I cribbed the rt/javascript pom.xml from what seemed a relevant example,
but 'mvn' doesn't run my tests in when run from that directory. Help?


RE: rt/javascript pom doesn't run tests

Posted by Benson Margulies <bi...@basistech.com>.
The renamed class is committed, but the test cases are @Ignored since
I've run into another piece of confusion in the
ReflectionServiceFactoryBean.

> -----Original Message-----
> From: Benson Margulies [mailto:bim2007@basistech.com]
> Sent: Thursday, November 01, 2007 10:17 AM
> To: cxf-dev@incubator.apache.org
> Subject: RE: rt/javascript pom doesn't run tests
> 
> I'm going to commit the name change as soon.
> 
> > -----Original Message-----
> > From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com]
> > Sent: Thursday, November 01, 2007 10:16 AM
> > To: cxf-dev@incubator.apache.org
> > Subject: RE: rt/javascript pom doesn't run tests
> >
> > It is weird that adding the including */*Tests pattern does not
work?
> > I ran "mvn clean install -Pfastinstall" from the trunk.
> >
> > I tried to rename SerializationTests to SerializationTest or
> > SerializationTestsCase.
> > Run mvn can find the test.
> >
> > Is there something that I am missing?
> >
> > Willem.
> >
> >
> > -----Original Message-----
> > From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com]
> > Sent: Thu 11/1/2007 22:04
> > To: cxf-dev@incubator.apache.org
> > Subject: RE: rt/javascript pom doesn't run tests
> >
> >
> > Oops, I already did a quick fix for it:)
> >
> > Willem.
> >
> > -----Original Message-----
> > From: Benson Margulies [mailto:bim2007@basistech.com]
> > Sent: Thu 11/1/2007 21:55
> > To: Daniel Kulp
> > Cc: cxf-dev@incubator.apache.org
> > Subject: RE: rt/javascript pom doesn't run tests
> >
> > I'll fix the class names.
> >
> > > -----Original Message-----
> > > From: Daniel Kulp [mailto:dkulp@apache.org]
> > > Sent: Thursday, November 01, 2007 9:53 AM
> > > To: Benson Margulies
> > > Cc: cxf-dev@incubator.apache.org
> > > Subject: Re: rt/javascript pom doesn't run tests
> > >
> > > On Thursday 01 November 2007, Benson Margulies wrote:
> > > > I cribbed the rt/javascript pom.xml from what seemed a relevant
> > > > example, but 'mvn' doesn't run my tests in when run from that
> > > > directory. Help?
> > >
> > > Class naming issue.   Surefire is set to look for:
> > > **/*Test.java
> > > **/*TestCase.java
> > >
> > > I think your classes are named "*Tests.java"
> > >
> > > You could probably update the surefire config in the
parent/pom.xml
> to
> > > include **/*Tests.java if you want.   I have no problem with that.
> > >
> > >
> > > --
> > > J. Daniel Kulp
> > > Principal Engineer
> > > IONA
> > > P: 781-902-8727    C: 508-380-7194
> > > daniel.kulp@iona.com
> > > http://www.dankulp.com/blog
> >


RE: rt/javascript pom doesn't run tests

Posted by Benson Margulies <bi...@basistech.com>.
I'm going to commit the name change as soon.

> -----Original Message-----
> From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com]
> Sent: Thursday, November 01, 2007 10:16 AM
> To: cxf-dev@incubator.apache.org
> Subject: RE: rt/javascript pom doesn't run tests
> 
> It is weird that adding the including */*Tests pattern does not work?
> I ran "mvn clean install -Pfastinstall" from the trunk.
> 
> I tried to rename SerializationTests to SerializationTest or
> SerializationTestsCase.
> Run mvn can find the test.
> 
> Is there something that I am missing?
> 
> Willem.
> 
> 
> -----Original Message-----
> From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com]
> Sent: Thu 11/1/2007 22:04
> To: cxf-dev@incubator.apache.org
> Subject: RE: rt/javascript pom doesn't run tests
> 
> 
> Oops, I already did a quick fix for it:)
> 
> Willem.
> 
> -----Original Message-----
> From: Benson Margulies [mailto:bim2007@basistech.com]
> Sent: Thu 11/1/2007 21:55
> To: Daniel Kulp
> Cc: cxf-dev@incubator.apache.org
> Subject: RE: rt/javascript pom doesn't run tests
> 
> I'll fix the class names.
> 
> > -----Original Message-----
> > From: Daniel Kulp [mailto:dkulp@apache.org]
> > Sent: Thursday, November 01, 2007 9:53 AM
> > To: Benson Margulies
> > Cc: cxf-dev@incubator.apache.org
> > Subject: Re: rt/javascript pom doesn't run tests
> >
> > On Thursday 01 November 2007, Benson Margulies wrote:
> > > I cribbed the rt/javascript pom.xml from what seemed a relevant
> > > example, but 'mvn' doesn't run my tests in when run from that
> > > directory. Help?
> >
> > Class naming issue.   Surefire is set to look for:
> > **/*Test.java
> > **/*TestCase.java
> >
> > I think your classes are named "*Tests.java"
> >
> > You could probably update the surefire config in the parent/pom.xml
to
> > include **/*Tests.java if you want.   I have no problem with that.
> >
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727    C: 508-380-7194
> > daniel.kulp@iona.com
> > http://www.dankulp.com/blog
> 


RE: rt/javascript pom doesn't run tests

Posted by "Jiang, Ning (Willem)" <Ni...@iona.com>.
It is weird that adding the including */*Tests pattern does not work?
I ran "mvn clean install -Pfastinstall" from the trunk.

I tried to rename SerializationTests to SerializationTest or SerializationTestsCase. 
Run mvn can find the test.

Is there something that I am missing?

Willem.


-----Original Message-----
From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com]
Sent: Thu 11/1/2007 22:04
To: cxf-dev@incubator.apache.org
Subject: RE: rt/javascript pom doesn't run tests
 

Oops, I already did a quick fix for it:)

Willem.

-----Original Message-----
From: Benson Margulies [mailto:bim2007@basistech.com]
Sent: Thu 11/1/2007 21:55
To: Daniel Kulp
Cc: cxf-dev@incubator.apache.org
Subject: RE: rt/javascript pom doesn't run tests
 
I'll fix the class names.

> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: Thursday, November 01, 2007 9:53 AM
> To: Benson Margulies
> Cc: cxf-dev@incubator.apache.org
> Subject: Re: rt/javascript pom doesn't run tests
> 
> On Thursday 01 November 2007, Benson Margulies wrote:
> > I cribbed the rt/javascript pom.xml from what seemed a relevant
> > example, but 'mvn' doesn't run my tests in when run from that
> > directory. Help?
> 
> Class naming issue.   Surefire is set to look for:
> **/*Test.java
> **/*TestCase.java
> 
> I think your classes are named "*Tests.java"
> 
> You could probably update the surefire config in the parent/pom.xml to
> include **/*Tests.java if you want.   I have no problem with that.
> 
> 
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog



RE: rt/javascript pom doesn't run tests

Posted by "Jiang, Ning (Willem)" <Ni...@iona.com>.
Oops, I already did a quick fix for it:)

Willem.

-----Original Message-----
From: Benson Margulies [mailto:bim2007@basistech.com]
Sent: Thu 11/1/2007 21:55
To: Daniel Kulp
Cc: cxf-dev@incubator.apache.org
Subject: RE: rt/javascript pom doesn't run tests
 
I'll fix the class names.

> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: Thursday, November 01, 2007 9:53 AM
> To: Benson Margulies
> Cc: cxf-dev@incubator.apache.org
> Subject: Re: rt/javascript pom doesn't run tests
> 
> On Thursday 01 November 2007, Benson Margulies wrote:
> > I cribbed the rt/javascript pom.xml from what seemed a relevant
> > example, but 'mvn' doesn't run my tests in when run from that
> > directory. Help?
> 
> Class naming issue.   Surefire is set to look for:
> **/*Test.java
> **/*TestCase.java
> 
> I think your classes are named "*Tests.java"
> 
> You could probably update the surefire config in the parent/pom.xml to
> include **/*Tests.java if you want.   I have no problem with that.
> 
> 
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog


RE: rt/javascript pom doesn't run tests

Posted by Benson Margulies <bi...@basistech.com>.
I'll fix the class names.

> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: Thursday, November 01, 2007 9:53 AM
> To: Benson Margulies
> Cc: cxf-dev@incubator.apache.org
> Subject: Re: rt/javascript pom doesn't run tests
> 
> On Thursday 01 November 2007, Benson Margulies wrote:
> > I cribbed the rt/javascript pom.xml from what seemed a relevant
> > example, but 'mvn' doesn't run my tests in when run from that
> > directory. Help?
> 
> Class naming issue.   Surefire is set to look for:
> **/*Test.java
> **/*TestCase.java
> 
> I think your classes are named "*Tests.java"
> 
> You could probably update the surefire config in the parent/pom.xml to
> include **/*Tests.java if you want.   I have no problem with that.
> 
> 
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog

Re: rt/javascript pom doesn't run tests

Posted by Daniel Kulp <dk...@apache.org>.
On Thursday 01 November 2007, Benson Margulies wrote:
> I cribbed the rt/javascript pom.xml from what seemed a relevant
> example, but 'mvn' doesn't run my tests in when run from that
> directory. Help?

Class naming issue.   Surefire is set to look for:
**/*Test.java
**/*TestCase.java

I think your classes are named "*Tests.java"

You could probably update the surefire config in the parent/pom.xml to 
include **/*Tests.java if you want.   I have no problem with that.


-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog