dcposch / scramble

Secure email for everyone
http://dcposch.github.io/scramble/
226 stars 32 forks source link

Need more client tests #37

Closed jaekwon closed 10 years ago

jaekwon commented 10 years ago

There was a bug in my client code that caused all the contacts to get deleted.

Luckily the new contacts code in app.js is a bit easier to test. Specifically, need rigorous tests for addContacts & validateContacts.

dcposch commented 10 years ago

We now have client (JS) and server (Go) tests. We could still use more coverage.

The client tests run in node now--you no longer have to manually go to http:///test.html

I've added a new Makefile target

make test

...runs both the client and server tests