Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.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
Protractor 使用Buildbot建立量角器的连续集成_Protractor_Buildbot - Fatal编程技术网

Protractor 使用Buildbot建立量角器的连续集成

Protractor 使用Buildbot建立量角器的连续集成,protractor,buildbot,Protractor,Buildbot,我已经使用量角器为我的angular网站编写了“端到端”自动测试,我知道如何从buildbot运行量角器测试,但不知道如何向buildbot报告测试结果 有什么想法吗?当您运行量角器conf.js时,如果一个或多个测试失败,退出状态应为非零,Buildbot将自动将其解释为失败。换句话说,ShellCommand(command=['pregrator','conf.js'])的明显方法应该是可行的。如果您正在做其他事情,请提供一些关于您尝试了什么以及发生了什么的附加信息

我已经使用量角器为我的angular网站编写了“端到端”自动测试,我知道如何从buildbot运行量角器测试,但不知道如何向buildbot报告测试结果


有什么想法吗?

当您运行
量角器conf.js
时,如果一个或多个测试失败,退出状态应为非零,Buildbot将自动将其解释为失败。换句话说,
ShellCommand(command=['pregrator','conf.js'])
的明显方法应该是可行的。如果您正在做其他事情,请提供一些关于您尝试了什么以及发生了什么的附加信息