Adapter for the NUnit testing framework.
The easiest way is to keep karma-nunit
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-nunit": "~0.1"
}
}
You can simple do it by:
npm install karma-nunit --save-dev
// karma.conf.js
module.exports = function(config) {
config.set({
frameworks: ['nunit'],
files: [
'*.js'
]
});
};
For more information on Karma see the karma.
For more information on NUnit.js go to nunit.