Dear all,
I am running a mvn package over a complex project, which includes tests
written using TestNG and Spring AbstractTestNGSpringContexts.
When I run these tests inside my IDE (IDEA) everything works fine, but when I
run through mvn package the @ContextConfiguration annotation is not
Hi, some of our test specify a priority at the method level as shown below.
We are running our tests in parallel and the order is being ignored. Any idea
on how to configure this? Thanks in advance.
Scott
@Test(priority = 1)
public void testCreateCache()
{
}
/**
*
Surefire delegates all of this to TestNg and does nothing
with these things. You'll have to check if the
combination of parallel and order is supported by
asking over there.
Kristian
to., 17.02.2011 kl. 15.37 +, skrev Burns, Scott:
Hi, some of our test specify a priority at the method
Hello all,
Is there a way to configure Maven surefire plugin to lookup TestNG
suiteXmlFile as classpath resource?
A use case where this would be useful is if one had interfaces,
implementation and test of specific api as separate maven modules, where
test module would contain testng xml file
Is there a way to configure Maven surefire plugin to lookup TestNG
suiteXmlFile as classpath resource?
I'm not aware of such functionality at this time, but you could
probably add it by hacking m-s-p in the constructSurefireBooter()
method and adding a corresponding configuration option so
]
Sent: Thursday, March 20, 2008 5:28 PM
To: Maven Users List
Subject: Re: surefire and testng integration issues with surefire-2.4.2
On 20-Mar-08, at 3:39 PM, Jason Chaffee wrote:
Jason van Zyl,
First, let me apologize for the tone of my emails and to anyone I
offended.
I doubt you offended
. This will happen.
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 5:28 PM
To: Maven Users List
Subject: Re: surefire and testng integration issues with
surefire-2.4.2
On 20-Mar-08, at 3:39 PM, Jason Chaffee wrote:
Jason van Zyl,
First, let me
I brought this up in the past the maven guys were adamant that they were
not able to get per test information to output on the console unless
testng changed. I felt all along that this was not correct and I
finally had a chance to look into it. Surefire could simply register a
listener to get
more than one, you can do that.
Good Luck,
Dana H. P'Simer
Dana.P'[EMAIL PROTECTED]
-Original Message-
From: Jason Chaffee [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 5:32 AM
To: Maven Developers List
Cc: Maven Users List
Subject: surefire and testng integration issues
it is worthwhile to
have the maven developers hear critical feedback from time to tome.
-Original Message-
From: P'Simer, Dana (Matrix) [mailto:Dana.P'[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 6:39 AM
To: Maven Users List; Maven Developers List
Subject: RE: surefire and testng integration issues
, March 20, 2008 10:05 AM
To: Maven Developers List
Cc: Maven Users List; [EMAIL PROTECTED]
Subject: Re: surefire and testng integration issues with surefire-2.4.2
Jason Chaffee wrote:
I brought this up in the past the maven guys were adamant that they
were
not able to get per test information
We are listening. Can you make a patch for surefire?
-Original Message-
From: Jason Chaffee [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 12:57 PM
To: Maven Developers List; Maven Users List
Subject: RE: surefire and testng integration issues with surefire-2.4.2
Yeah, I have
Users List
Subject: RE: Re: surefire and testng integration issues with
surefire-2.4.2
I did try it. I created my own listener and got the exact output I was
looking for. I am not sure where our disconnect is here, but we
certainly are seeing two different things with respect to the code
I will look into creating something as soon as I have time to make sure
it is well tested.
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 10:11 AM
To: Maven Users List
Subject: RE: surefire and testng integration issues with surefire-2.4.2
if the behavior still works as expected.
-Original Message-
From: Dan Fabulich [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 10:18 AM
To: Maven Developers List
Cc: [EMAIL PROTECTED]; Maven Users List
Subject: Re: surefire and testng integration issues with surefire-2.4.2
Jason Chaffee wrote
Jason Chaffee wrote:
Maybe our disconnect is about callbacks after the class vs. the method.
That could be where the misunderstanding is coming from.
Sure, that could be. I claim that logging per-method is *way* too much
logging. Don't you agree?
In JUnit we can log per-class or
-
From: Jason Chaffee [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:17 PM
To: Maven Users List
Subject: RE: surefire and testng integration issues with surefire-2.4.2
I will look into creating something as soon as I have time to make sure
it is well tested.
-Original Message
Jason Chaffee wrote:
I did not run your project.
Well, try it and get back to me. You can use that as a starting point for
reproducing the effect you actually want.
-Dan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Dan Fabulich wrote:
Jason Chaffee wrote:
I did not run your project.
Well, try it and get back to me. You can use that as a starting point for
reproducing the effect you actually want.
Oops, you can't, because the mailing list software stripped my attachment.
You can get a copy here:
the trouble.
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 10:30 AM
To: Maven Users List
Subject: RE: surefire and testng integration issues with surefire-2.4.2
In the meantime, perhaps a Jira would be good so we don't lose the time
you
: surefire and testng integration issues with surefire-2.4.2
I am simply glad that it got someone's attention and I feel that in no
way was the tone of that email blasting anyone, it was informing the
maven community of the perception that is developing around maven and
ASF in the java community
(without
re-introducing a bunch of evil TestNG bugs from Surefire 2.3).
http://jira.codehaus.org/browse/SUREFIRE-457
I've also attached my sample project there.
-Dan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
. There is no notification based on class unless the
test methods for each class are included in separate tests. The default
behavior for TestNG in the surefire plugin is to lump all the test
methods from all the test classes into one test. That is why only one
onStart is called.
I have only been
Message-
From: P'Simer, Dana (Matrix) [mailto:Dana.P'[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 11:03 AM
To: Maven Users List; Maven Developers List
Cc: [EMAIL PROTECTED]
Subject: RE: surefire and testng integration issues with surefire-2.4.2
I think part of the disconnect might
]
Sent: Thursday, March 20, 2008 10:30 AM
To: Maven Users List
Subject: RE: surefire and testng integration issues with
surefire-2.4.2
In the meantime, perhaps a Jira would be good so we don't lose the
time
you invested so far.
FYI: We are working hard to stabilize the Maven 2.0.x branch
Well said. I appreciate this kind of feedback.
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 12:10 PM
To: Maven Users List
Subject: Re: surefire and testng integration issues with surefire-2.4.2
On 20-Mar-08, at 10:47 AM, Jason Chaffee
with venom.
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 12:10 PM
To: Maven Users List
Subject: Re: surefire and testng integration issues with surefire-2.4.2
On 20-Mar-08, at 10:47 AM, Jason Chaffee wrote:
I am simply glad that it got
-
From: Jason Chaffee [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 6:40 PM
To: Maven Users List
Subject: RE: surefire and testng integration issues with surefire-2.4.2
Jason van Zyl,
First, let me apologize for the tone of my emails and to anyone I
offended. That was never my
Users List
Subject: RE: surefire and testng integration issues with surefire-2.4.2
Jason,
The kinds of complaints you get at work are exactly what I'm (and I'm
sure the rest of the team) interested in getting from the user list.
Would you be willing to summarize the particular issues your team
: Re: surefire and testng integration issues with
surefire-2.4.2
On 20-Mar-08, at 10:47 AM, Jason Chaffee wrote:
I am simply glad that it got someone's attention and I feel that in
no
way was the tone of that email blasting anyone, it was informing the
maven community of the perception
, 2008 7:28 PM
Subject: Re: surefire and testng integration issues with surefire-2.4.2
On 20-Mar-08, at 3:39 PM, Jason Chaffee wrote:
Jason van Zyl,
First, let me apologize for the tone of my emails and to anyone I
offended.
I doubt you offended anyone. We're used to it. I sit
Thanks Dan,
I have uploaded a fixed version of my patch, checking before casting to
TestNGDirectoryTestSuite.
With that fix, all unit tests and integration tests pass.
I'm sorry I have missed this test failure earlier, should not happen...
Erez.
On Feb 8, 2008 4:14 AM, Dan Fabulich [EMAIL
Created http://jira.codehaus.org/browse/SUREFIRE-452 and provided fix for it
as attachment.
Can someone from surefire team clarify when is the next minor release of
surefire-plugin planned?
Thanks,
Erez.
On Feb 6, 2008 11:37 PM, Erez Nahir [EMAIL PROTECTED] wrote:
Hi,
I'm looking for a way
Erez Nahir wrote:
Created http://jira.codehaus.org/browse/SUREFIRE-452 and provided fix for it
as attachment.
I saw your bug; it seems to fail some of the integration tests, so I'm not
applying it right now.
Can someone from surefire team clarify when is the next minor release of
Hi,
I'm looking for a way to change the default suite name generated by surefire
from TestSuite to something else.
Using this configuration:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
It is in src/test/resources. It is getting picked up since the logging
is changing when I change values in it. Either way, my logs are being
logged to the System.out but not appearing it the system out element
in the TEST-TestSuite.xml, which I find odd.
I would try it without forking to see if
I am having problems getting useful information from surefire logs.
Plugin declaration:
artifactIdmaven-surefire-plugin/artifactId
version2.4-SNAPSHOT/version
configuration
forkModeonce/forkMode
parallelfalse/parallel
Andrew,
where is you your test-log4j.xml file located ? Because if you use
log4j.configuration, I think it will use the current directory and not try
to load the file from the classpath.
Jeff
On Jan 2, 2008 3:38 AM, Andrew Robinson [EMAIL PROTECTED]
wrote:
I am having problems getting useful
On 14 Nov 06, at 10:11 AM 14 Nov 06, Christopher Maki wrote:
Hi
I seem to be having a problem with TestNG 5.1 and the Surefire
plugin (either 2.3-SNAPSHOT or 2.2). When using Surefire 2.3-
SNAPSHOT I get this error when I try to run my tests:
Kenney is working another release of the
something to do with the way I was using Surefire and TestNG. The
Surefire plugin page indicates you can use a testng.xml file so I thought
it should work. I was hoping to find someone that uses TestNG with Maven
2 and find out how they got the testng.xml file to work with their
project
Hi Wayne
Thanks for getting back to me. I didn't think this was a bug. I thought it
had something to do with the way I was using Surefire and TestNG. The Surefire
plugin page indicates you can use a testng.xml file so I thought it should
work. I was hoping to find someone that uses TestNG
Hi
I seem to be having a problem with TestNG 5.1 and the Surefire plugin (either
2.3-SNAPSHOT or 2.2). When using Surefire 2.3-SNAPSHOT I get this error when I
try to run my tests:
---
T E S T S
Bugs should be posted in JIRA, not the Users list.
Wayne
On 11/14/06, Christopher Maki [EMAIL PROTECTED] wrote:
Hi
I seem to be having a problem with TestNG 5.1 and the Surefire plugin
(either 2.3-SNAPSHOT or 2.2). When using Surefire 2.3-SNAPSHOT I get this
error when I try to run my tests:
I have tried to put in touch a person from this list (Kaare Nilsen) that
had made a 80% functional test-ng prototype plugin with Cedric Beust
of TestNG and they exchanged these mails, as they were only between the
four of us perhaps you'd like to follow up on it:
Cedric:
Hi Srepfler (and
Any status on support for TestNG from Surefire w/Maven2?
--jason
This email and any attachment(s) thereto, are intended for the use of
the addressee(s) named herein and may contain legally privileged and or
confidential information under applicable law. If you are not the
intended recipient
Some talk.
http://jira.codehaus.org/browse/MSUREFIRE-23
On 1/6/06, Jason Dillon [EMAIL PROTECTED] wrote:
Any status on support for TestNG from Surefire w/Maven2?
--jason
This email and any attachment(s) thereto, are intended for the use of
the addressee(s) named herein and may contain
46 matches
Mail list logo