Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-04-02 Thread Andreas Kuhtz
Hi, I did some more testing and added a new pax-exam-invoker-testng module to my fork of pax-exam (https://github.com/akuhtz/org.ops4j.pax.exam2.git --> branch invoker-testng) with and some changes to KarafTestContainer to use TestNG instead of JUnit but I didn't succeed and I'm even not sure if i

Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-04-02 Thread thometal
Ok thx for testing. I created a Ticket in pax exam: https://ops4j1.jira.com/browse/PAXEXAM-698 -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-4-0-0-M2-testing-with-testng-leads-to-an-error-tp4039383p4039425.html Sent from the Karaf - User mailing list archive at Nabb

Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-03-31 Thread Andreas Kuhtz
Hi, First: I was wrong :-( My working testNG test was not with karaf. However I've pushed a sample project with JUnit and TestNG tests with karaf (https://github.com/akuhtz/pax-exam-karaf-test). While the JUnit tests passes (as expected), the testNG test fails but no longer with the same exceptio

Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-03-31 Thread Achim Nierbeck
cool thanks Achim 2015-03-31 9:50 GMT+02:00 Andreas Kuhtz : > Hi, > I've TestNG with pax-exam running with karaf-3.0.3. > > The main difference is that I use > > > org.ops4j.pax.exam > pax-exam-container-native > ${version.pax-exam} > test

Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-03-31 Thread Andreas Kuhtz
Hi, I've TestNG with pax-exam running with karaf-3.0.3. The main difference is that I use org.ops4j.pax.exam pax-exam-container-native ${version.pax-exam} test instead of pax-exam-container-karaf . I'll try to prepare a sample on

Re: karaf 4.0.0.M2 testing with testng leads to an error

2015-03-30 Thread Achim Nierbeck
Hi, my advice? Use JUnit it's proven to work. This is the quick answer :-) Waht's wrong, don't know. Might be an issue of Pax Exam in conjunction with testNG. For that you'll need to question on the Ops4j usesrs list. Maybe it's a bug, or already a known issue. If it's an unknown issue please ope

karaf 4.0.0.M2 testing with testng leads to an error

2015-03-30 Thread thometal
Hi, iam try to use karaf 4.0.0.M2 testing with testng. here my pom: org.ops4j.pax.exam pax-exam-container-karaf 4.4.0 org.ops4j.pax.exam pax-exam-testng 4.4.0