AmdHarness.org/test/test
From ApiFusion
The "test" MID API
High-level requirements
Requirements:AmdHarness.org/test
API definition
The MochaJS "exports" API has been chosen as minimalistic primary data driven test structure definition. The BDD and TDD interfaces are left out of scope due to API limitation.
define(["test","assert"], function( test, assert ) { test( { before: function(){ this.testData = 1; } , 'Array': { '#indexOf()': { 'should return -1 when not present': function() { assert( -1 == [1,2,3].indexOf(4) ); } } } } ); });
implementations