Marak / JSLINQ

Clean and simple port of Microsoft's LINQ to node.js (and the browser)
http://maraksquires.com/JSLINQ/
92 stars 15 forks source link

better unit tests and A/B performance testing / benchmarking #3

Open Marak opened 14 years ago

Marak commented 14 years ago

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.

jaz303 commented 14 years ago

am happy to have a crack at writing a console-based test suite. is there a preferred test library?

Marak commented 14 years ago

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().