Keyboard Shortcuts
Likes
Search
[TDD] How to TDD JavaScript so it thinks it is in a browser.
toggle quoted message
Show quoted text
On Apr 4, 2014, at 5:35 PM, Ian <hobson42@...> wrote:
|
I usually TDD with node.js and karma. It allows me to test my code in various browsers Cheers, Yoann Le 4 avr. 2014 23:47, "Nayan Hajratwala" <nayan@...> a ¨¦crit :
|
Karma is a kick ass tool for integration testing. It's better if you can test most of the "business logic" with jsdom, a few mocks, or less. The tests will be super fast that way.?
toggle quoted message
Show quoted text
On Sunday, April 6, 2014, Yoann R. <artissae@...> wrote:
|
Adam Miller
There are plenty of options for doing TDD with Javascript, qunit with phantomjs is another one. On Sun, Apr 6, 2014 at 3:52 PM, Adam Sroka <adam.sroka@...> wrote:
|