[Webtest] [webtest][JIRA] Closed: (WT-229) Deprecate compareToExpected and add verifyContent

Marc Guillemot (JIRA) webtest@lists.canoo.com
Thu, 31 Aug 2006 20:40:28 +0200 (CEST)


     [ http://webtest-community.canoo.com/jira/browse/WT-229?page=all ]
     
Marc Guillemot closed WT-229:
-----------------------------

    Fix Version: 2.1
     Resolution: Fixed

Fix in build 1391.

Step compareToExpected will be removed after release 2.1

> Deprecate compareToExpected and add verifyContent
> -------------------------------------------------
>
>          Key: WT-229
>          URL: http://webtest-community.canoo.com/jira/browse/WT-229
>      Project: WebTest
>         Type: Task

>     Versions: 2.0
>     Reporter: Marc Guillemot
>     Assignee: Marc Guillemot
>      Fix For: 2.1

>
> Current compareToExpected step shows several weaknesses:
> - name doesn't fit with all our verifyXXX steps
> - if reference file doesn't exist, it looks silently for it in a subfolder named "expected"
> - it doesn't fail if reference file doesn't exist at all but just creates it
> - it doesn't fail if an IO error occurs
> It should be deprecated (and removed in a future release, aliasing is here not possible as it's not only a name problem) and a new, stricter step named verifyContent should be added:
> <verifyContent referenceFile="someFile.xxx".../> 

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