Tapestry
  1. Tapestry
  2. TAPESTRY-1933

Setup infrastructure for integration tests in tapestry-hibernate

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.6
    • Fix Version/s: 5.0.11
    • Component/s: tapestry-hibernate
    • Labels:
      None

      Description

      Would like to start submitting some integration tests around tapestry-hibernate, but need some infrastructure to be in place first.
      Patch follows.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        97d 8h 43m 1 Dan Adams 03/Mar/08 01:38
        In Progress In Progress Closed Closed
        23s 1 Dan Adams 03/Mar/08 01:39
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568528 ] jira [ 12591574 ]
        Mark Thomas made changes -
        Workflow jira [ 12417888 ] Default workflow, editable Closed status [ 12568528 ]
        Dan Adams made changes -
        Fix Version/s 5.0.11 [ 12312968 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Dan Adams made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Dan Adams made changes -
        Assignee Dan Adams [ hagios17 ]
        lasitha ranatunga made changes -
        Hide
        lasitha ranatunga added a comment -

        Sets up integration testing infrastructure for tapestry-hibernate.
        Tested against rev: 598142.

        The changes are mostly based on the setup in tapestry-core and tapestry-spring. They include:

        • An additional <test> in testng.xml pointing to the integration test package.
        • A new subclass of AbstractIntegrationTestSuite that doesn't contain any tests yet.
        • The skeleton of a test webapp:
        • An empty AppModule that pulls in the HibernateModule via an @SubModule annotation,
        • A Start page, webdefault.xml and web.xml
        • A create-drop directive in hibernate.cfg.xml so the hsql db will be available for tests.
        • Marking the Id property of the User class as an @GeneratedValue.

        Note: this patch was generated by StGit and has a slightly different format to svn diff. Its still standard GNU patch compatible so i'm hopeful that it won't cause trouble.

        Of course, feedback appreciated.

        Show
        lasitha ranatunga added a comment - Sets up integration testing infrastructure for tapestry-hibernate. Tested against rev: 598142. The changes are mostly based on the setup in tapestry-core and tapestry-spring. They include: An additional <test> in testng.xml pointing to the integration test package. A new subclass of AbstractIntegrationTestSuite that doesn't contain any tests yet. The skeleton of a test webapp: An empty AppModule that pulls in the HibernateModule via an @SubModule annotation, A Start page, webdefault.xml and web.xml A create-drop directive in hibernate.cfg.xml so the hsql db will be available for tests. Marking the Id property of the User class as an @GeneratedValue. Note: this patch was generated by StGit and has a slightly different format to svn diff. Its still standard GNU patch compatible so i'm hopeful that it won't cause trouble. Of course, feedback appreciated.
        lasitha ranatunga made changes -
        Field Original Value New Value
        Fix Version/s 5.0.7 [ 12312802 ]
        Affects Version/s 5.0.6 [ 12312544 ]
        lasitha ranatunga created issue -

          People

          • Assignee:
            Dan Adams
            Reporter:
            lasitha ranatunga
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development