ShaleSystest

HomePage | RecentChanges | Preferences

10/01/2005

HtmlUnit? System Integration Tests

The tests pass when run against the struts-shale-usecases.war file from the nightly build.

With MyFaces 1.1.0:

Ant build with the MyFaces 1.1.0 files in lib/myfaces/ and the Listener commented out in web.xml:

wendy@imbrium-1 /cygdrive/e/svn/struts/current/shale/use-cases
$ ant systest
Buildfile: build.xml

systest.compile:

systest:
    [junit] Running org.apache.shale.usecases.systest.JndiTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.234 sec
    [junit] Testsuite: org.apache.shale.usecases.systest.JndiTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.234 sec

    [junit] Testcase: testExecute took 2.234 sec
    [junit] Running org.apache.shale.usecases.systest.SubviewTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.782 sec
    [junit] Testsuite: org.apache.shale.usecases.systest.SubviewTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.782 sec

    [junit] Testcase: testExecute took 1.782 sec
    [junit] Running org.apache.shale.usecases.systest.UseCasesTestCase
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.281 sec
    [junit] Testsuite: org.apache.shale.usecases.systest.UseCasesTestCase
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.281 sec

    [junit] Testcase: testForm took 1.281 sec
    [junit]     FAILED
    [junit] expected:<> but was:<usecasesForm>
    [junit] junit.framework.ComparisonFailure: expected:<> but was:<usecasesForm>
    [junit]     at org.apache.shale.usecases.systest.UseCasesTestCase.testForm(U
seCasesTestCase.java:104)


BUILD FAILED
E:\svn\struts\current\shale\use-cases\build.xml:515: Test org.apache.shale.useca
ses.systest.UseCasesTestCase failed

Total time: 7 seconds

wendy@imbrium-1 /cygdrive/e/svn/struts/current/shale/use-cases
$


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited October 2, 2005 9:43 am by WendySmoak (diff)
Search: