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

Marc Guillemot (JIRA) webtest@lists.canoo.com
Thu, 31 Aug 2006 17:07:06 +0200 (CEST)


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
 Assigned to: Marc Guillemot 


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