Closed VoQn closed 11 years ago
I tried Hybrid testing, but grunt buster did not stop buster-test server after testing.
grunt buster
buster.js
var config = module.exports; config['Test Suites'] = { rootPath: '../', libs: ['lib/my-lib.js'], tests: ['test/**/*-test.js'] }; config['Browser Tests'] = { extends: 'Test Suites', environment: 'browser', sources: ['lib/my-lib.js'] }; config['Node Test'] = { extends: 'Test Suites', environment: 'node' };
if user's grunt.js is written like this, grunt watch work unuseful :-(
grunt.js
grunt watch
grunt.initConfig({ lint: { files: [ 'grunt.js', 'src/*.js', 'test/*-test.js' ] }, buster: { test: { config: './test/buster.js' } }, watch: { files: [ 'grunt.js', 'test/*.js', 'src/*.js' ], tasks: 'lint buster' } });
Is this individual environmental matter? or plugin bug?
This is a bug in buster, https://github.com/busterjs/buster/issues/239
This bug was fixed in Buster.
I tried Hybrid testing, but
grunt buster
did not stop buster-test server after testing.example
buster.js
Problem
if user's
grunt.js
is written like this,grunt watch
work unuseful :-(Is this individual environmental matter? or plugin bug?