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>karma start karma-e2e.conf.js
INFO [karma]: Karma v0.10.1 server started at localhost:9877/
INFO [launcher]: Starting browser Chrome
WARN [launcher]: The path should引用されません。
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe へのパスを正規化しました
INFO [Chrome 28.0.1500 (Windows 7)]: Connected on socket id pfBNNRs-3wAdgT-QsheL
Chrome 28.0.1500 (Windows 7) ): 0 of 0 ERROR を実行 (0.207 秒 / 0 秒)