3
현재 C#으로 fitnesse 사용에 대한 자습서를 진행 중입니다. http://schuchert.wikispaces.com/FitNesse.Tutorials.0.CSharp 현재 내 코드/코드가 예상대로 작동하지 않습니다. 나는 성공적으로 그것을 스스로 분류하기 위해이 프로그램에 대한 충분한 지식이 없다. 해당 페이지의 코드는 다음과 같습니다.fitnesse, fitsharp 및 slim with c와 함께 사용 #
!define TEST_SYSTEM {slim}
!define TEST_RUNNER {c:\Projects\fitsharp\Runner.exe}
!define COMMAND_PATTERN {%m -r fitnesse.slim.Runner, c:\Projects\fitsharp\fitsharp.dll %p}
!path c:\Projects\C_Sharp\Digital Video Recorder\Digital Video Recorder\bin\Debug\Digital Video Recorder.dll
!define COLLAPSE_SETUP {true}
!define COLLAPSE_TEARDOWN {true}
!|import|
|Digital Video Recorder|
!|Create Programs |
|Name |Channel|DayOfWeek|TimeOfDay|DurationInMinutes|id? |
|House|4 |Monday |19:00 |60 |$ID=|
여기서 dll의 경로는 확실히 경로입니다. 하지만 난이를 테스트 할 때 그것은 예외가 온다 :
System.ArgumentException: String cannot have zero length.
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at fitSharp.Machine.Engine.CurrentDomain.LoadAssembly(String assemblyPath)
at fitSharp.Machine.Engine.ApplicationUnderTest.Assemblies.AddAssembly(String assemblyName)
at fitSharp.Machine.Application.Shell.Execute()
at fitSharp.Machine.Application.Shell.Run(IList`1 commandLineArguments)
필자는 잠시 동안이 바이올린을 켜는되어 있지만 내가 그것을