【问题标题】:Jruby + Testunit + CapybaraJruby + Testunit + Capybara
【发布时间】:2015-04-02 12:22:02
【问题描述】:

我正在使用 Jruby 1.6.8 和 Rails 3.1 使用 TestUnit 和 Capybara 进行测试,在进行了一些测试后,我开始看到“运行测试时出错:single! “。它曾经发生在我身上,但在再次启动测试后它被修复了。

我正在启动这个命令:

jruby --debug -S rake test TEST=path_to_my_test

甚至尝试使用:rake test TEST=path_to_my_test 我无法修复它。

这里有我的日志:

OpenJDK 64-Bit Server VM warning: You have loaded library /home/jmolina/.rvm/rubies/jruby-1.6.8/lib/native/i386-Linux/libjffi-1.0.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Errors running test:single!

有人知道怎么回事吗?

提前谢谢你。

【问题讨论】:

    标签: ruby-on-rails capybara jruby testunit


    【解决方案1】:

    最后,我意识到我的测试数据库被删除了(我不知道为什么)。所以我重新创建它,现在它工作正常。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-04
      • 1970-01-01
      相关资源
      最近更新 更多