Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7.5, 1.8-beta-2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The Stub Generator used by the Groovy Joint Compiler lacks tests, and it's easy to break it inadvertently, making people's build failing.
The idea of this ticket is to provide a mechanism and infrastructure to let developers create sets of Java and Groovy sources to jointly compile, using the stub generator, to make certain assertions against the Java code that is generated.
Obviously, once this infrastructure is in place, many data sets will have to be provided.
To fit in with general JUnit conventions, I changed the name BaseStubTest to StubTestCase but perhaps you prefer BaseStubTestCase - it is slightly different to normal TestCase classes.