我已安装、确认安装并按照以下链接中提到的步骤操作:
http://gojko.net/2010/01/01/bdd-in-net-with-cucumber-cuke4nuke-and-teamcity/
http://cuke4ninja.com/sec_hello_world_net.html
一旦我尝试运行,Cuke4Nuke bin\debug\Cuke4NukeExample.dll
我会收到一条错误消息。
我尝试在没有参数的情况下单独运行 Cuke4Nuke,但看到的错误消息与bin\debug\Cuke4NukeExample.dll
这是错误消息:
E:\Visual Projects>cuke4nuke C:/Ruby193/lib/ruby/gems/1.9.1/gems/ffi-1.1.5-x86-mingw32/lib/ffi/library.rb:249 :in
attach_function': Function '_get_errno' not found in [msvcrt.dll] (FFI::Not FoundError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/p rocess/functions.rb:12:in
attach_pfunc' 来自 C: /Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/p rocess/functions.rb:64:in<module:Functions>' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/p rocess/functions.rb:8:in
'来自 C:/Ruby193/lib/ruby/site_ruby/ 1.9.1/rubygems/custom_require.rb:55:inrequire' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:i n
require' 来自 C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/p rocess.rb: 1:in<top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:i n
require' 来自 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/cuke4nuke-0.4.0/lib/cuke4nuke/m ain.rb:4:in
'来自 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require .rb:55:inrequire' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:i n
需要'来自 C:/Ruby193/lib/ruby/gems/1.9.1/gems/cuke4nuke-0.4.0/bin/cuke4nuke:4 :in<top (required)>' from C:/Ruby193/bin/cuke4nuke:23:in
从 C:/Ruby193/bin/cuke4nuke:23:in 加载'
谢谢