forked from bugy/script-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugy#282 adapted stryker mutation to new vue-cli structure
- Loading branch information
1 parent
6ac6e2d
commit 58574a6
Showing
3 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
entry: {'stryker_entry': './tests/unit/terminal_model_test.js'}, | ||
resolve: { | ||
alias: { | ||
'@': path.resolve('src') | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
module.exports = function (config) { | ||
config.set({ | ||
testRunner: 'karma', | ||
testFramework: 'mocha', | ||
karma: { | ||
project: 'custom', | ||
configFile: 'tests/karma.conf.js', | ||
config: { | ||
basePath: null, | ||
files: ['../../web/test_entry.js'] | ||
frameworks: ['mocha'], | ||
files: ['dist/*.js'] | ||
} | ||
}, | ||
tempDir: '/tmp', | ||
mutate: ['js/components/terminal/terminal_model.js'], | ||
tempDirName: '/tmp', | ||
mutate: ['src/common/components/terminal/terminal_model.js'], | ||
files: ['src/**/*.js', 'tests/unit/**/*.js'], | ||
mutator: 'javascript', | ||
coverageAnalysis: 'off', | ||
logLevel: 'info', | ||
transpilers: ['webpack'], | ||
webpack: { | ||
configFile: 'webpack.mutation.js' | ||
configFile: 'tests/mutation/stryker.webpack.config.js' | ||
}, | ||
reporter: ['progress', 'clear-text', 'html'] | ||
reporter: ['progress', 'clear-text', 'html'], | ||
htmlReporter: {baseDir: '/tmp/reports/stryker'} | ||
}); | ||
}; |