kpreid comments on What are you working on? April 2012 - Less Wrong

1 Post author: David_Gerard 01 April 2012 06:40PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (60)

You are viewing a single comment's thread. Show more comments above.

Comment author: kpreid 04 April 2012 03:22:28PM 1 point [-]

Regarding unit testing JavaScript, I recently asked this question myself at Stack Overflow (and if you're not familiar with Stack Overflow and the Stack Exchange Network, I recommend you should; it is a great place to get answers for technical problems), and ended up using Jasmine. I'm skeptical of the “BDD” thing, but it seems a perfectly fine tool for unit testing. I'm using it (example) to test logic inside the browser — that is, I load a web page which runs the tests and becomes the report of results — but I understand it can also be used from a “headless” environment of your choice.