简体   繁体   English

Ruby on Rails:Ubuntu 10.04上的自动测试通知

[英]Ruby on Rails : Autotest-notification on Ubuntu 10.04

So after spending some time googling I finally got autotest to work on ubuntu with autotest-notification 所以花了一些时间在Google上搜寻我终于得到了自动测试在Ubuntu工作后自动测试通知

It is working fine too. 它也工作正常。 Just got a minor issue. 刚遇到一个小问题。

When I get an error the graphical notification pops up with the RED code . 当我得到一个错误的图形通知弹出带有红色代码。 Then if I go fic the errors , the notification should turn green, but it doesn't. 然后,如果我发现错误,则通知应变为绿色,但事实并非如此。 It continues to show the RED message.But the process in the terminal shows the correct result, it's just the graphical notification. 它继续显示红色message.But终端的过程中显示了正确的结果,它只是图形通知。

For example : 例如 : 终端成功 This is the success message in terminal. 这是在终端成功消息。

通知成功
This is success message in notification. 这是通知中的成功消息。
Then I commit a mistake. 然后我犯了一个错误。 失败错误 The notification is 通知是
失败通知
Then I fix the errors and : 然后我修复错误并:
固定失败了
The FAIL notification continues to show up. 故障通知继续展现出来。

Once again all the code I use is from here 再一次,我使用的所有代码都来自这里
I followed these steps . 我遵循了这些步骤

Anyways I have managed to fix it somehow 无论如何,我设法以某种方式修复了它

$ sudo gem uninstall ZenTest

And then 接着

$ sudo gem install autotest-notification
$ an-install

seems to do the trick. 似乎可以解决问题。 So I basically uninstalled zentest and installed autotest-notification agian and it works fine now. 因此,我基本上卸载了zentest并安装了autotest-notification agian,现在工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM