these steps should be included in your test file (flow1.xml)

On Wed, Feb 11, 2009 at 7:07 PM, lavanya palaniswamy <
[email protected]> wrote:

> Hi All,
> I am new to sqlunit5.0.I have issues in integrating sql unit with webtest
> In "SQL Unit Integration" under Canoo webtest manual following script is
> given.
> Can any one help me on where i need to include these scripts.
> That is either in  webtest .xml or in the test file(flow1.xml).
>
>
> Script:
> <taskdef name="sqlunit" classname="net.sourceforge.sqlunit.ant.SqlunitTask
> "/>
> ...
> <-- Testing SQLUnit using flat form of sqlunit call -->
> <target name="sqlunit-flat">
>    <sqlunit testfile="${testfile}" haltOnFailure="true" debug="${debug}"
>          logfile="${result.file}" logformat="${log.format}" />
> </target>
>
> <-- Testing SQLUnit using nested form of sqlunit call -->
> <target name="sqlunit-nested">
>    <sqlunit haltOnFailure="false" debug="${debug}"
>          logfile="${result.file}" logformat="${log.format}">
>       <fileset dir="${test.dir}/${testdir}">
>          <include name="**/*.xml" />
>       </fileset>
>     </sqlunit>
> </target>
> ...
> <-- reporting -->
> <target name="canoo2html">
>    <delete file="${output.dir}/${output.file}.html" />
>    <xslt in="${result.file}"
>          out="${output.dir}/${output.file}.html"
>          style="${etc.dir}/${webtest.style}.xsl" />
> </target>
>
>
>
> Thanks in Advance
> Lavanya
> ...
>
>
> ------------------------------
> Add more friends to your messenger and enjoy! Invite them 
> now.<http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/>
>

Reply via email to