我可以运行单元测试和中途测试,但是当我想运行 e2e 测试时,什么也没有发生。业力的输出表明没有找到测试:
C:\>karma start
INFO [karma]: Karma server started at http://localhost:9876/
INFO [launcher]: Starting browser IE
INFO [IE 10.0 (Windows)]: Connected on socket id 8lG9jAG8mloBmjFez5V9
IE 10.0 (Windows): Executed 0 of 0 SUCCESS (0.125 secs / 0 secs)
我的 karma.conf 文件如下:
files = [
JASMINE,
JASMINE_ADAPTER,
'Scripts/libs/jquery/jquery-*.js',
'Scripts/libs/angular/angular.js',
'Scripts/libs/angular/angular-mocks.js',
'Scripts/libs/angular/angular-resource.js',
'Scripts/libs/angular/angular-scenario.js',
'Scripts/sinon-1.7.3.js',
'app/**/index.js',
'app/**/*.js',
'app/*.js',
'test/unit/**/*.js',
'test/midway/**/*.js',
'test/e2e/*.js'
];
reporters = ['progress'];
port = 9876;
runnerPort = 9100;
colors = true;
logLevel = LOG_INFO;
autoWatch = true;
browsers = ['IE'];
captureTimeout = 60000;
singleRun = false;
proxies = {
'/': 'http://localhost:1506/portal.web'
};
知道有什么问题吗?