#183 Add unit tests to the build

Build (2)

I guess the title says it all :) Our JUnit tests are currently not integrated into the build scripts.
I propose to do this in 2 steps:
- first for everything except the J2EE connector. This requires writing a JUnit runner, which is not too difficult. We can already start a jppf driver and nodes programmatically, which makes life a lot easier.
- second integrate the J2EE connector test into the J2EE connector build script. This is a little more delicate, because it requires to be able to automatically start an application server, a JPPF server, one or more nodes, deploy the connector and test web app, then run the tests from an http client and get the results back. Currently, the app server, driver and nodes have to be started manually.


  • Laurent Cohen

    Laurent Cohen - 2012-07-01
    • status: open --> closed-fixed
  • Laurent Cohen

    Laurent Cohen - 2012-07-01

    This is now implemented. The ANt script now has the following targets:
    - "test" : compiles the JPPF sources and the test sources and runs the tests,
    - "run.tests" just runs the tests

    Changes committed to SVN
    - trunk revision 2277
    - branch b3.1 revision 2278


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks