gritzko / swarm

JavaScript replicated model (M of MVC) library
http://swarmdb.net/
MIT License
2.68k stars 97 forks source link

How to run test suite #5

Closed andreypopp closed 10 years ago

andreypopp commented 10 years ago

Currently run-tests.sh doesn't work for me. It seems to use nodeunit but I figured out tests are written with qunit. Even after I install qunit and run test suite manually (w/o run-tests.sh) I can't get all tests to pass, because some of them require Swarm.Field which isn't present in codebase.

gritzko commented 10 years ago

Swarm.Field is something ancient, I just forgot to clean some old files, sorry. QUnit stuff is ran in a browser, like file:///home/user/swarm/test/qunit.html The issue is how to run it scripted, right?

andreypopp commented 10 years ago

The issue is how to run it scripted, right?

Yes.

gritzko commented 10 years ago

btw, see the new shiny Makefile