dongzen7263 2015-05-25 15:08
浏览 54

未定义:revel.TestSuites

I'm having some problems getting Revel up and running after I did an update on the package. Each time I try to run a revel app I get the following error message:

Go Compilation Error
The Go code go/src/github.com/revel/samples/booking/app/tmp/main.go does not compile: undefined: revel.TestSuites

At first I thought this was due to some legacy code in my current project, but then I tried to get the official sample projects to work, but the same error comes up in these as well. Don't know how to push this further. I don't even use the testrunner, so it shouldn't even get generated in the main.go file.

Update

Looks like I had a old revel binary, had to remove this and get the revel cmd package, after I did this the TestSuites problem got solved.

  • 写回答

1条回答 默认 最新

  • dongtieshang5429 2015-05-25 15:14
    关注

    I don't use Revel, but Godoc tells us that TestSuites is now in github.com/revel/revel/testing package. The Revel developers might've moved the testing related stuff into a separate package.

    评论

报告相同问题?

悬赏问题

  • ¥15 手机连接电脑热点显示无ip分配
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大