[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: about test suite in KwareSoft
Kyuwon,
Thank you for raising this issue
regarding <VerifyContent> evaluation of message(s) returned by the
<Filter> operation. My interpretation for writing the XPath
expression as you described was that I was verifying that a <mime:Message>
was found in the resulting NodeList whose <soap:Envelope> has a
namespace-uri of http://schemas.xmlsoap.org/soap/envelope/'
As I understand your
interpretation, you are saying that the <mime:Message> has already been
"found" by the <Filter>, therefore why not evaluate the
<soap:Envelope> of that message ( or the first message that matches this
XPath expression ), rather than appearing to again filter
<mime:Message>s.
I believe that we are both "correct"
in that both XPath expressions will yield a "true" result if a message is found
in the filtered NodeLIst of messages, where the <soap:Envelope>
namespace matches that which we specify.
Is this just a case of
semantics? I believe that it is. If so, perhaps the IIC group can
decide which is a better semantic approach to verifying results.. since I use
this approach in the majority of Test Cases in this Executable Test Suite.
It would be fairly easy to modify the Executable Test Suite to have a more
specific XPath expression.
Comments?
Mike
PS - I am posting my response to the IIC group so
that all future discussion of the Test Framework and Test Suites
is visible to all.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]