Search code examples
fitnessefitnesse-slim

Which all assertions can we use with fitnesse


For xml soap webservices testing which all assertions can we implement with fitnesse. For example Not soap fault, schema compliance, Soap response etc. I am using slim fixtures. Hope I can get some help as I am not able to find any user guide about this . Thanks for help


Solution

  • Slim is a test system, which fixtures do you (plan to) use? Slim itself knows nothing of web services or Xml. With XmlHttpTest you would validate response content using xPath expressions on the response, this does not allow you to do schema validation.

    When you use Slim I expect you will use script and scenario tables. The test system offers 'check', 'ensure', 'reject', 'check not' and 'ensure not'. What you can do with these depends on your fixtures.

    See http://fitnesse.org/FitNesse.UserGuide.WritingAcceptanceTests.SliM.ScriptTable for more information on how to use a script.