以下是代码:
!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,"fitsharp\fit.dll" %p}
!define TEST_RUNNER {fitsharp\Runner.exe}
!define PATH_SEPARATOR {;}
!path FitSharp\dbfit.sqlserver.dll
!|dbfit.SQLServerTest|
!|Connect|localhost|sa|sa|DatabaseB|
|Store Query|select claimid,mattertitle from tblclaims|fromtable|
|Store Query|select claimid,mattertitle from tblclaims_audit|fromtwo|
|compare stored queries|fromtable|fromtwo|
|claimid|mattertitle?|
测试执行结果:
测试页面:0正确,0错误,0忽略,1异常断言: 0右,0错,0忽略,1例外(2.121秒)
例外:
比较存储的查询System.ApplicationException:无法加载 来自fromtwo的存储查询 - 是空的 dbfit.fixture.CompareStoredQueries.GetDataTable(String symbolName)
在dbfit.fixture.CompareStoredQueries.InitialiseDataTables()at dbfit.fixture.CompareStoredQueries.DoTable(Parse table)at fitSharp.Machine.Model.ObjectExtension.As [T](Object item,Action1 action) at fitSharp.Fit.Operators.InterpretFlow.DoTable(Tree
1 table,Interpreter activeFixture,Boolean inFlow)at fitSharp.Fit.Operators.InterpretFlow.ProcessRestOfTable(口译 childInterpreter,Tree`1 theRestOfTheRows,Boolean isFlow)
我的脚本有什么问题?