Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Commit 397389a

Browse files
plasmaboyerlegacybass
authored andcommitted
add language option to manage non-english mstest.exe (#1)
* add language option to manage non-english mstest.exe * updated version 0.1.1
1 parent 3b95fe6 commit 397389a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ Gulp-Mstest has a few minor settings that determine what gets output to the cons
2626
- Example: 'Passed 3/5'
2727
- quitOnFailed: This causes gulp-mstest to use a gulp plugin error if any of the tests in a dll failed to pass. This is useful when there are multiple test packages that must run and you want to be notified as soon as one fails.
2828
- If errorMessage or errorStackTrace are on, they will be output with the failed message
29+
- language: if you mstest.exe is non-english, change your language (ie. language='fr'). see mstest to see available language.

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = function (opts) {
2323
msTest.testContainer = file.path;
2424
msTest.details.errorMessage = true;
2525
msTest.details.errorStackTrace = true;
26+
msTest.language = opts.language;
2627
msTest.runTests({
2728
eachTest: function (test) {
2829
if(opts.outputEachResult) {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gulp-mstest",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Gulp wrapper for executing mstest",
55
"main": "index.js",
66
"dependencies": {

0 commit comments

Comments
 (0)