Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/unit-testing/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unit testing intellij idea中的playframework测试_Unit Testing_Playframework - Fatal编程技术网

Unit testing intellij idea中的playframework测试

Unit testing intellij idea中的playframework测试,unit-testing,playframework,Unit Testing,Playframework,我读过: 但事实上并没有找到答案 我已打开电源 module.testruner=${play.path}/modules/testrunner 在我的application.conf中 但在尝试从ide(idea)启动某些测试时仍存在错误,错误如下: May 7, 2011 9:56:31 PM play.Logger fatal SEVERE: Cannot read application.conf 问题:如何从idea启动测试?在play 1.2中,在intelliJ test r

我读过:

但事实上并没有找到答案

我已打开电源

module.testruner=${play.path}/modules/testrunner
在我的application.conf中

但在尝试从ide(idea)启动某些测试时仍存在错误,错误如下:

May 7, 2011 9:56:31 PM play.Logger fatal
SEVERE: Cannot read application.conf

问题:如何从idea启动测试?

在play 1.2中,在intelliJ test runner中运行测试不需要额外的设置。只需检查以确保已正确配置运行/调试配置。看看我的答案。

是的。我应该为每次测试做这个设置。或者对于我要运行的整个测试集。