You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console INFO 07 06 2016 13:31:54.538:WARN [preprocess]: Can not load "coverage", it is not registered!
Perhaps you are missing some plugin?
console INFO 07 06 2016 13:31:54.544:WARN [reporter]: Can not load "spec", it is not registered!
Perhaps you are missing some plugin?
console INFO 07 06 2016 13:31:54.544:WARN [reporter]: Can not load "junit", it is not registered!
Perhaps you are missing some plugin?
console INFO 07 06 2016 13:31:54.544:WARN [reporter]: Can not load "coverage", it is not registered!
Perhaps you are missing some plugin?
[13:31:54] console INFO '_karma-jenkins' errored after 37 ms
[13:31:54] console INFO Error: No provider for "framework:jasmine"! (Resolving: framework:jasmine)
at error (D:\src\thin-monitor2\node_modules\di\lib\injector.js:22:12)
at Object.parent.get (D:\src\thin-monitor2\node_modules\di\lib\injector.js:9:13)
at get (D:\src\thin-monitor2\node_modules\di\lib\injector.js:54:19)
at D:\src\thin-monitor2\node_modules\karma\lib\server.js:138:20
at Array.forEach (native)
at Server._start (D:\src\thin-monitor2\node_modules\karma\lib\server.js:137:21)
at invoke (D:\src\thin-monitor2\node_modules\di\lib\injector.js:75:15)
at Server.start (D:\src\thin-monitor2\node_modules\karma\lib\server.js:102:18)
at Gulp.<anonymous> (D:\src\thin-monitor2\gulp-tasks\testing-tasks.js:106:5)
at module.exports (D:\src\thin-monitor2\node_modules\orchestrator\lib\runTask.js:34:7)
at Gulp.Orchestrator._runTask (D:\src\thin-monitor2\node_modules\orchestrator\index.js:273:3)
at Gulp.Orchestrator._runStep (D:\src\thin-monitor2\node_modules\orchestrator\index.js:214:10)
at Gulp.Orchestrator.start (D:\src\thin-monitor2\node_modules\orchestrator\index.js:134:8)
at runNextSet (D:\src\thin-monitor2\node_modules\run-sequence\index.js:88:16)
at Gulp.onTaskEnd (D:\src\thin-monitor2\node_modules\run-sequence\index.js:77:5)
at emitOne (events.js:82:20)
config.set({
reporters: ['spec', 'junit', 'coverage', 'html'],
// the default configuration
htmlReporter: {
outputDir: process.env.WORKSPACE || '../reports/karma_html', // where to put the reports
templatePath: null, // set if you moved jasmine_template.html
focusOnFailures: true, // reports show failures on start
namedFiles: false, // name files instead of creating sub-directories
pageTitle: 'ThinMonitor2 Unit Tests', // page title for reports; browser info by default
urlFriendlyName: true, // simply replaces spaces with _ for files/dirs
// reportName: 'report-summary-filename' // report summary filename; browser info by default
},
plugins: [
'karma-html-reporter'
],
junitReporter : {
outputDir: process.env.WORKSPACE || '../reports/jUnit', // results will be saved as $outputDir/$browserName.xml
outputFile: 'test-results.xml',
useBrowserName: false // add browser name to report and classes names
},
coverageReporter: {
reporters:[
{
type : 'cobertura',
dir : '../reports/coverage/cobertura/'
},
{
type: 'html',
dir: '../reports/coverage/html/'
},
{
type: 'text-summary'
// dir: '../reports/coverage/text/'
}
]
},
preprocessors: {
'../src/js/**/*.js': 'coverage'
},
frameworks: ['jasmine', 'jasmine-matchers'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: true,
// For headless Chrome, see https://gist.github.com/addyosmani/5336747
// We really ought to test on the same client the end-users use
browsers: ['PhantomJS'],
files: [
...
],
exclude: [
'js/app.js' // Not used in tests: see ../test/lib/jasmine-tr.js for instantiation of thinMonitor.
],
port: 9876,
colors: false,
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
autoWatch: false,
// Concurrency level
// how many browser should be started simultaneous
concurrency: Infinity
});
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: