2017-07-16 45 views
1

我正在尝试使用Ceedling为我的C项目创建单元测试。 我在终端中写道: -ceedling new My_Project_Name Ceedling创建一个名为“My_Project_Name”的文件夹。但是这个文件夹中没有Rakefile。怎么了?Ceedling不会创建Rakefile

+0

您好,欢迎StackOverflow上。请花一些时间阅读帮助页面,尤其是名为[“我可以询问什么主题?”(http://stackoverflow.com/help/on-topic)和[“我应该问什么类型的问题避免问?“](http://stackoverflow.com/help/dont-ask)。更重要的是,请阅读[Stack Overflow问题清单](http://meta.stackexchange.com/q/156810/204922)。您可能还想了解[最小,完整和可验证示例](http://stackoverflow.com/help/mcve)。 – herrbischoff

回答

0

运行测试你只需要使用命令

ceedling 

不带任何参数。 rakefile位于供应商目录(我认为),如果你想看到它,但你不应该改变它。

+0

ceedling github页面(https://github.com/ThrowTheSwitch/Ceedling/blob/master/docs/CeedlingPacket.md)描述了如何使用该命令。 – ORL