【发布时间】:2013-08-10 16:35:10
【问题描述】:
在 introtokarma 应用程序中,我将 karma-e2e-config.js 文件更改如下:
module.exports = function(config) {
config.set({
basePath : '../',
files : ['tests/e2e/**/*.js'],
frameworks: ['ng-scenario'],
autoWatch : false,
browsers : ['Chrome'],
singleRun : true,
proxies : {
'/': 'http://localhost:8000/'
},
junitReporter : {
outputFile: 'test_out/e2e.xml',
suite: 'e2e'
}
});
};
运行代码时,我得到以下输出:
C:\Project\introtokarma\config>业力启动业力-e2e.conf.js
信息 [karma]:Karma v0.10.1 服务器在 localhost:9877/
启动 INFO [启动器]:启动浏览器 Chrome
WARN [启动器]:路径不应被引用。
标准化 C:\Program Files (x86)\Google\Chrome\Application\chrome.exe 的路径
信息 [Chrome 28.0.1500 (Windows 7)]:连接到套接字 id pfBNNRs-3wAdgT-QsheL
Chrome 28.0.1500(Windows 7):执行 0 of 0 错误(0.207 秒/0 秒)
【问题讨论】:
标签: angularjs karma-runner angularjs-e2e