#183 Add unit tests to the build

v3.1
closed-fixed
Build (2)
9
2012-07-01
2012-06-30
No

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.

Discussion

  • 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