Hi,

I have checked in the changes.

To Sebastien's questions:

1) Yes, we can start to take advantage of @BeforeClass, @AfterClass annotations. But don't forget to fix the memory leaks :-).

2) When I try to port the SCATestCaseRunner to support JUnit 4.x annotations, I found it fairly cumbersome to use java reflection to access org.junit.* classes and annotations. Can we add JUnit as a compile time dependency? If we don't like to have it in the core, maybe we should keep it in the "tuscany-test" module.

Thanks,
Raymond

----- Original Message ----- From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Wednesday, March 07, 2007 7:56 PM
Subject: Re: [sca-java-integration-branch] Moving to maven-surefire-plugin 2.3 and JUnit 4.2


Luciano Resende wrote:
+1, Thanks for volunteering !

On 3/7/07, Raymond Feng <[EMAIL PROTECTED]> wrote:

Hi,

With the release of maven-surefire-plugin 2.3, we can now run JUnit 4.xtest cases under maven. I plan to update
pom.xml(s) in the sca-java-integration branch to take advantage of this
capability. I have run the full top-down build and everything looks good.

Please let me know if you have any concerns.

Thanks,
Raymond





+1 from me.

A side comment, this will give us the ability to init a single runtime instance in a method annotated with a Junit @BeforeClass annotation and reuse it across multiple test methods. I think it will be interesting for integration tests in particular.

Raymond, are you going to also adjust the SCATestCaseRunner utility class to support JUnit4 test cases? or I can help port that class if you prefer, let me know.

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to