Groups
Sign in
Groups
LiveScript
Conversations
Labels
About
Send feedback
Help
Unit tests
31 views
Skip to first unread message
Matthew Painter
unread,
Aug 15, 2013, 4:00:01 AM
8/15/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lives...@googlegroups.com
What is the recommended way to write unit tests (framework, etc.) using Livescript?
Thanks!
Matt
George Zahariev
unread,
Aug 16, 2013, 2:14:48 AM
8/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lives...@googlegroups.com
I used mocha with a node's assert lib for
prelude.ls
- it seemed to work well.
You can check out the tests here:
https://github.com/gkz/prelude-ls/tree/master/test
George Zahariev
unread,
Aug 16, 2013, 2:16:19 AM
8/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lives...@googlegroups.com
Forgot to add links:
mocha:
http://visionmedia.github.io/mocha/
assert:
http://nodejs.org/api/assert.html
Matthew Painter
unread,
Aug 16, 2013, 3:53:12 AM
8/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lives...@googlegroups.com
Great thanks :)
Do you run them as part of a continuous build process? If so how?
Thanks for you input!
Reply all
Reply to author
Forward
0 new messages