[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3226) Modify DBUnitSeamTest to permit use of DTDs generated by DBUnit

John J. Genoese (JIRA) jira-events at lists.jboss.org
Wed Aug 6 09:18:58 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John J. Genoese updated JBSEAM-3226:
------------------------------------

    Attachment: DBUnitSeamTest.java


Attachment contains requested modification. Please see the 2 new constructors for inner class DataSetOperation.

> Modify DBUnitSeamTest to permit use of DTDs generated by DBUnit
> ---------------------------------------------------------------
>
>                 Key: JBSEAM-3226
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3226
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Test Harness
>    Affects Versions: 2.0.3.CR1
>         Environment: Any
>            Reporter: John J. Genoese
>            Priority: Minor
>         Attachments: DBUnitSeamTest.java
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> Given: DBUnit's behavior is such that if the first row to be loaded (via DataSetOperation) into a table doesn't have all columns present, those columns will be dropped in every row loaded thereafter.
> Given: If a DTD is present, DBUnit will honor it, and refrain from the aforementioned behavior. DBUnit has a facility to generate said DTD.
> Given: The current DBUnitSeamTest (for which I am grateful indeed) doesn't permit specification of said DTD's location. Hence, I must manually massage my test data to ensure that the first row loaded into each table has values for all columns, which causes considerable inconvenience in my automated testing flow (which includes data generation).
> Request:  Modify DBUnitSeamTest to permit use of DTDs generated by DBUnit

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list