Skip to content

Commit e2a7d4b

Browse files
committed
Moved boltkit tests to not run by default
1 parent 1178d1a commit e2a7d4b

6 files changed

+19
-0
lines changed

gulpfile.babel.js

+11
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,17 @@ gulp.task('test-nodejs', ['nodejs'], function () {
154154
}));
155155
});
156156

157+
gulp.task('test-boltkit', ['nodejs'], function () {
158+
return gulp.src('test/**/*.boltkit.it.js')
159+
.pipe(jasmine({
160+
// reporter: new reporters.JUnitXmlReporter({
161+
// savePath: "build/nodejs-test-reports",
162+
// consolidateAll: false
163+
// }),
164+
includeStackTrace: true
165+
}));
166+
});
167+
157168
gulp.task('test-browser', function (cb) {
158169
runSequence('all', 'run-browser-test', cb)
159170
});

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"scripts": {
1212
"test": "gulp test",
13+
"boltkit": "gulp test-boltkit",
1314
"build": "gulp all",
1415
"start-neo4j": "gulp start-neo4j",
1516
"stop-neo4j": "gulp stop-neo4j",

runTests.ps1

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ try
1515
}
1616

1717
npm test
18+
if($env:NEORUN_START_ARGS=true)
19+
{
20+
npm boltkit
21+
}
1822
if(-Not ($?)) #failed to execute npm test
1923
{
2024
$ErrorFound = $True

runTests.sh

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ fi
1717

1818
sleep 2
1919
npm test
20+
if [ "$BOLT_KIT" = true ]; then
21+
npm boltkit
22+
fi
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)