groovy
  1. groovy
  2. GROOVY-4324

Provide a stub generator testing infrastructure

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major 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 :
      0

      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.

        Activity

        Hide
        Paul King added a comment -

        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.

        Show
        Paul King added a comment - 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.
        Hide
        Guillaume Laforge added a comment -

        A first implementation is committed.
        We'll refine it as we add new stub generator tests.

        Show
        Guillaume Laforge added a comment - A first implementation is committed. We'll refine it as we add new stub generator tests.

          People

          • Assignee:
            Guillaume Laforge
            Reporter:
            Guillaume Laforge
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: