mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 08:59:57 -06:00
Make WebUI unit tests to generate results as JUnit
Now WebUI unit tests are generating results in qunit format which is not consumable well by Jenkins. This patch adds NPM dependency for adding generation results in JUnit XML format so it can be easily processed. Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
1 parent
69599560c1
commit
c450e2dc8f
3 files changed
+8
-2
No files matched your search
@@ -1,5 +1,8 @@
|
||||
module.exports = function(grunt) {
|
||||
grunt.initConfig({
|
||||
qunit_junit: {
|
||||
options: {}
|
||||
},
|
||||
qunit: {
|
||||
all: [
|
||||
'test/all_tests.html'
|
||||
@@ -7,5 +10,7 @@ module.exports = function(grunt) {
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-qunit-junit');
|
||||
grunt.loadNpmTasks('grunt-contrib-qunit');
|
||||
grunt.registerTask('test', ['qunit_junit', 'qunit']);
|
||||
};
|
||||
@@ -42,7 +42,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "^1.0.1",
|
||||
"grunt-contrib-qunit": "^2.0.0"
|
||||
"grunt-contrib-qunit": "^2.0.0",
|
||||
"grunt-qunit-junit": "^0.3.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"dojo": "~1.8.1"
|
||||
|
||||
Reference in new issue
Block a user