Hello all
SIS currently uses JUnit for testing. Myself I have always used JUnit
too for all my projects. However during the last OGC meeting, I had a
talk with some peoples involved in the OGC CITE tests and we considered
the possibility to share some effort between CITE tests and GeoAPI
conformance module. However the CITE team has chosen TestNG, and they
suggested me to switch to TestNG too for easier integration.
Switching to TestNG may be a significant effort since we would need to
port not only the existing SIS tests, but also the GeoAPI conformance
module and the Geotk tests ported to SIS. As far as GeoAPI-conformance
is concerned, we may also lost some potential users since TestNG can run
JUnit tests through an adapter, but I have not hear about the converse.
However the advantage would be potentially easier cooperation with CITE
tests, and TestNG is said to be a more powerful framework (I didn't
evaluated myself). The capability to specify tests dependencies seems
attractive, and the fact that TestNG doesn't recreate new "FooTest"
instance for every tests may speed-up when the constructor performs
heavy initialization.
What do peoples think?
Martin