使用NUnit和XMLUnit.NET 我有一個驗證生成的XML文檔在架構上 第一個測試只需要要素 <Test>
Public Sub GenerateXmlDocument_WithOnlyRequiredElements_SuccesfullyValidated()
Dim factory As New TestFactory()
Dim schemaConstraint
我想在Groovy代碼我用xml文件忽略爲了SOAP響應比較: 這裏是我的代碼: import org.custommonkey.xmlunit.Stuff
import org.xmlunit.Stuff
//ExpectedString is my xml converted to text, same for ResponseString
Diff diff = DiffBuild