Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
We probably need to introduce a TestRunner for Polygene tests, to solve POLYGENE-249. The FragmentClassLoader needs to be the one involved in loading the Polygene classes.
It would be good to get to the point where the testcase is actually a ServiceComposite and that the ApplicationAssembly is given as an annotation on the testcase, or better yet a list of assemblies to be tested with the same tests.
So, the test runner
1. Starts the Polygene Runtime (Energy4Java)
2. Takes the ApplicationAssembly from testcase annotation
3. Adds the testcase as a ServiceComposite to some module (which one?)
4. Somehow delegates the running of the methods back to Junit.
This can become tricky, but would be pretty cool. Worst case scenario... We could make our own Test system.