I'm finding the TestNG plugin to be a bit flaky. For example I have a few
tests defined in a couple of classes and I wanted to add a new test class so
I created a new class:
package com.pingmenow.services;
import org.testng.annotations.Test;
public class DummyTest {
@Test
public void
On Tue, Sep 29, 2009 at 1:14 AM, Toby Hobson toby.hob...@googlemail.comwrote:
I'm finding the TestNG plugin to be a bit flaky. For example I have a few
tests defined in a couple of classes and I wanted to add a new test class
so
I created a new class:
package com.pingmenow.services;
import
Hi!
I got maven to run with testng 5.5 by using
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.4-collab-SNAPSHOT/version
/plugin
and
dependency
groupIdorg.testng/groupId
I reposted my question in a new thread. Search for subject Testng with
testng.xml config file.
--
Regards
Erik Drolshammer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've run into exactly the same problem... Did you ever get any
resolution to this, Lee?
Wayne
On 11/22/06, Lee Bieber [EMAIL PROTECTED] wrote:
I'm trying to get testng working with maven. I've configured my pom.xml per the
documentation
..
dependency
Hi,
what is the current status on Maven2 and TestNG?
This blog entry[1] shows me a way to avoid surefire, but this does not feel
right. The official TestNG documentation[2] talks about using surefire
2.8-SNAPSHOT, but when I declare this version, all I get from maven is this:
[INFO]
Hello,
try with this
dependencies
dependency
groupIdorg.testng/groupId
artifactIdtestng/artifactId
version5.1/version
scopetest/scope
classifierjdk15/classifier
/dependency
/dependencies
build
plugins
plugin
Thanks, that runs my tests. It a pity that I have to add all my packages to
my testng.xml file. Do you know a way to say: recursively from this one?
This is what I got now:
suite name=All tests verbose=1
test name=All tests
packages
package name=net.sourceforge.vigilog/
Hello Wim,
sorry havent' had a look at TestNG in a bit (i m doing it on my leasure
time..which is almost null).
I m sure there are parameters in TestNG with which you can configure
dynamically
the tests that run (for example, by making all tests part of the same group
and specifying which
test
I'm trying to get testng working with maven. I've configured my pom.xml per the
documentation
..
dependency
groupIdorg.testng/groupId
artifactIdtestng/artifactId
version5.1/version
scopetest
For those people who have struggled using maven with testng, I've
blogged about how to get it working without using surefire:
http://www.ninthavenue.com.au/blog/maven_and_testng
I hope this helps someone.
--
Ninth Avenue Software
p: +61 7 3137 1351
Hi,
see comment inline...
Naresh Bhatia schrieb:
I have a maven project with packaging set to ejb. I would like to test
this project outside an ejb container by simply calling POJO classes
inside it. I have written a very simple test using TestNG:
public class UserServiceTest {
List
Subject: Re: How to test an ejb package with Maven and TestNG?
Hi,
see comment inline...
Naresh Bhatia schrieb:
I have a maven project with packaging set to ejb. I would like to test
this project outside an ejb container by simply calling POJO classes
inside it. I have written a very simple
I have a maven project with packaging set to ejb. I would like to test
this project outside an ejb container by simply calling POJO classes
inside it. I have written a very simple test using TestNG:
public class UserServiceTest {
@Test
public void testGetAllUsers() {
...
14 matches
Mail list logo