Hi,
It would be could to support all testing frameworks (like testng). A
drawback to this is that you can only rely on test instances created by the
framework, and thus you cannot, like juhttp://code.google.com/p/atunit/nit,
provide your proper test instance given a class (i.e. proxy the test class
to be executed).
I am currently finishing an integration testing framework
(http://code.mycila.com/). Supporting through plugins jmock, easymock,
mockito, guice, spring, ... and also AtUnit.
So i had to take some classes and refactor them a little (AtUnit.java,
mockers and containers) to remove junit imports.
So perhaps it would be nice
- to have a new Container interface that works on the test instance
- to have a test instance enhancer decoupled from junit that embed all the
non junit code from AtUnit.java
- to use non junit code in Jmock plugin
You can have a look of teh classes here:
http://code.google.com/p/mycila/source/browse/#svn/mycila-testing/trunk/mycila-t
esting-plugins/mycila-testing-atunit/src/main/java/com/mycila/testing/plugin/atu
nit
Cheers,
Mathieu.
Original issue reported on code.google.com by mathieu....@gmail.com on 5 Dec 2008 at 3:33
Original issue reported on code.google.com by
mathieu....@gmail.com
on 5 Dec 2008 at 3:33