polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (POLYGENE-258) PolygeneTestRunner
Date Wed, 24 May 2017 07:20:04 GMT
Niclas Hedhman created POLYGENE-258:
---------------------------------------

             Summary: PolygeneTestRunner
                 Key: POLYGENE-258
                 URL: https://issues.apache.org/jira/browse/POLYGENE-258
             Project: Polygene
          Issue Type: New Feature
            Reporter: Niclas Hedhman
             Fix For: 3.1.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message