Native Assertion module?

Rick Waldron waldron.rick at gmail.com
Mon Feb 13 16:03:53 PST 2012



On Feb 13, 2012, at 2:21 PM, Domenic Denicola <domenic at domenicdenicola.com> wrote:

>> If you do a native Assertion module, maybe it should be similar to node's.
> 
>> <http://nodejs.org/docs/latest/api/assert.html>
> 
> It's worth noting that Node's assert is almost (?) identical to CommonJS's Unit Testing spec [1]. I'm not sure which came first.
> 
> Regardless, I think this is the job for a body like CommonJS (as problematic as it may be), not Ecma.

I speak for myself and my colleagues when I say that we've had our fill of including scripts _just_ for the sake of having a common testing interface. 

Forget Date, typeof null, etc. JavaScript's biggest problem is devs that don't test their code. 

> 
> [1]: http://wiki.commonjs.org/wiki/Unit_Testing
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list