JSLINQ
JSLINQ copied to clipboard
better unit tests and A/B performance testing / benchmarking
we need to have better unit test coverage, the current unit tests are embedded in the sampleData.js file and are called from tests.html
we need server-side node thats that have the ability to run A/B speed tests of JSLINQ operations on large datasets. these tests should also work on the client.
am happy to have a crack at writing a console-based test suite. is there a preferred test library?
are you familiar with using node.js at all?
node has a built in assert module, i think we might want to build our own suite based on that module? here's an example: http://github.com/kriszyp/perstore/blob/master/tests/query.js
there are also other frameworks like jSpec and qUnit.
i think putting together a simple proof of concept using just the assert module should be simple. im not 100% on how to implement the timing stuff, but i think we can do something with getTime().