Gunner is a zero magic, fast test-runner and assertion framework. There are no magic globals or CLI specific interface.
Gunner uses very modern JavaScript, and hence requires node 10+ ❗️
Create a new Gunner instance and simply write your tests. The assertion methods are passed in as the callback as an expect object to the test function.
const{ Gunner, expect }=require('@klenty/gunner');// Create new instanceconstgunner=newGunner();// Define testsgunner.test('arrays are equal',()=>{returnexpect([1,2,]).deepEqual([1,2]);});// Starts the runnergunner.run();Gunner was originally built by Muthu Kumar (@MKRhere) at Klenty, a sales automation startup. Now it's ,maintained by CodeFeathers.
