2011/7/22 Konstantin Kolinko <knst.koli...@gmail.com>:
> * First step is to use these values in build.properties:
>
> junit.home=${base.path}/junit4.8.2
> junit.lib=${junit.home}
> junit.jar=${junit.lib}/junit-4.8.2.jar
> junit.loc=http://cloud.github.com/downloads/KentBeck/junit/junit4.8.2.zip
>
> With this, all our tests are running successfully as they are now.
>
>
> * Next step is to convert existing tests to use JUnit 4 annotations.
> My plan is the following:
>
> 1. Convert test classes that are direct descendants of TestCase.
>
> 2. Create a copy of TomcatBaseTest class that does not extend TestCase.
> Let's name it TomcatBaseTestJUnit4.
>
> 3. Convert descendants of TomcatBaseTest to use TomcatBaseTestJUnit4.
>
> 4. Rename TomcatBaseTestJUnit4 -> TomcatBaseTest.
>

Completed for everything,
except test cases that are in org.apache.catalina.tribes.**. I have
not touched them.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to