[ 
https://issues.apache.org/jira/browse/TAPESTRY-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lasitha ranatunga updated TAPESTRY-1933:
----------------------------------------

    Attachment: hibernate_integration_test_infrastructure.patch

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.

> Setup infrastructure for integration tests in tapestry-hibernate
> ----------------------------------------------------------------
>
>                 Key: TAPESTRY-1933
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1933
>             Project: Tapestry
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.6
>            Reporter: lasitha ranatunga
>            Priority: Minor
>         Attachments: hibernate_integration_test_infrastructure.patch
>
>
> Would like to start submitting some integration tests around 
> tapestry-hibernate, but need some infrastructure to be in place first.
> Patch follows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to