[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2234) Documentation for "Integration Testing with Mock Data" is incomplete

Eduardo Nieto (JIRA) jira-events at lists.jboss.org
Sat Nov 10 15:05:44 EST 2007


Documentation for "Integration Testing with Mock Data" is incomplete
--------------------------------------------------------------------

                 Key: JBSEAM-2234
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2234
             Project: JBoss Seam
          Issue Type: Release
          Components: Documentation
    Affects Versions: 2.0.0.GA
         Environment: Jboss SEAM 2.0.0.GA
Project generated using seam-gen
TestNg eclipse plugin
PostgreSQL 8.1
            Reporter: Eduardo Nieto


I wanted to do a very simple test using the instructions in this chapter of the Reference Documentation:
"31.3.1. Integration Testing with Mock Data" (http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/testing.html#d0e19428)
and I found two problems with the documentation:

#1 Datasource value:
Most users wouldn't know that TestNG plugin is going to look for datasources in the bootstrap/deploy directory. This should be explained and also that the "java:/DefaultDS" has no relation to the database used to generate the project.

#2 Using DBMS that are not Hypersonic
Tests using other DBMS should override three methods (disableReferentialIntegrity, enableReferentialIntegrity and editConfig). I've found this commented on the source of the class "DbUnitSeamTest" and this MUST be documented on the Reference Documentation

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

        



More information about the seam-issues mailing list