Unit testing 如何配置team city以执行intern';使用phantom js作为已配置浏览器的测试运行程序

Unit testing 如何配置team city以执行intern';使用phantom js作为已配置浏览器的测试运行程序,unit-testing,phantomjs,teamcity,intern,Unit Testing,Phantomjs,Teamcity,Intern,我试图为针对web浏览器执行的实习生单元测试添加team city构建步骤,但我不确定如何配置和运行phantom js。我在teamcity中安装了这个插件,它为我提供了一个phantom js build runner: 目前,我在TeamCity中有两个构建步骤。第一步是将npm build runner与install和update命令一起使用 第二步是使用命令行任务运行程序执行'intern runner config=tests/intern' 这两个步骤对我来说似乎是正确的,但我

我试图为针对web浏览器执行的实习生单元测试添加team city构建步骤,但我不确定如何配置和运行phantom js。我在teamcity中安装了这个插件,它为我提供了一个phantom js build runner:

目前,我在TeamCity中有两个构建步骤。第一步是将npm build runner与install和update命令一起使用

第二步是使用命令行任务运行程序执行'intern runner config=tests/intern'

这两个步骤对我来说似乎是正确的,但我相信这将失败,因为phantomjs尚未运行

phantomjs会使用构建步骤启动吗?或者我是否需要将构建代理配置为已经在运行phantomjs(如果是这样的话,我将如何操作)