This is the error message:
ReferenceError: assert is not defined
at Object.buster.testCase.says hello to name var (./test/test-script.js:12:40)
file config buster.js:
var config = module.exports;
config["myTests"] = {
rootPath: "../",
environment: "browser",
libs: ["*.js"],
sources: ["start/script.js" ],
tests: ["test/test-script.js"]
};
tree files:
main_dir/start : index.html; script.js
main_dir/test : buster.js; buster_063.js; test-script;
main_dir : jQuery.js; Mootools.js;
test-script.js:
buster.testCase("Hello", {
"says hello to name var": function(){ assert.equals( hello("Fulvio"), "Hello Fulvio" ); }
});