Hello,
I'm newbie karma user and i have angularjs web aplication. I'm trying to create simple e2e tests.
My files:
frontend/tests/js/rootCtrl.js:
describe('RootCtrl Test', function() {
it('should filter results', function() {
expect(1).toEqual(2);
});
});
karma-e2e.conf.js:
var sharedConfig = require('./karma-shared.conf');
module.exports = function(config) {
var conf = sharedConfig();
conf.files = conf.files.concat([
'frontend/tests/js/.js'
]);
conf.proxies = {
'/': 'http://localhost:9999/'
};
conf.urlRoot = '/__karma__/';
conf.frameworks = ['ng-scenario'];
config.set(conf);
};
and karma-shared.conf.js:
module.exports = function() {
return {
basePath: '../',
frameworks: ['ng-scenario'],
browsers: ['Chrome'],
// these are default values anyway
colors: true,
files : [
//
//3rd Party Code
//
'frontend/static/lib/angular/angular.min.js',
'frontend/static/lib/angular/angular-route.js',
.....
.....
]};
I'm trying to running this with: karma start test/karma-e2e.conf.js, after runnin chrome browser opens and see there:
0 Passed, 0 Failures, 0 Errors
Why karma doesn't execute tests?
--
You received this message because you are subscribed to the Google Groups "karma-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to karma-users...@googlegroups.com.
To post to this group, send email to karma...@googlegroups.com.
Visit this group at http://groups.google.com/group/karma-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/karma-users/0032dea8-c4e4-4bd7-b340-519e15ba244d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi,
Have you found a solution? I have The Same Probleme