This repository was archived by the owner on May 20, 2025. It is now read-only.
v0.0.9: Method engines & Grunt
- Test engine selection at a test method level
var unit = module.exports = {
getEngines: function() {
return {
testAMethod: "inline",
testAnotherMethod: "inline"
}
},
testAMethod: function() {
//...
},
testAnotherMethod: function() {
//...
}
};- Grunt task now correctly handles targets
- Grunt task can merge targets an run them
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
atoum: {
inline: {
inline: true
},
asserters: {
directory: "tests/asserters"
}
}
});$ grunt atoum # Will run the atoum task with default settings
$ grunt atoum:asserters # Will only run the tests/asserters subset with the concurrent engine (which is the default one)
$ grunt atoum:inline:asserters # Will only run the tests/asserters subset with the inline engine- Override default targets settings by defining a
defaulttarget