Your project tested #nodejs

Download Your project tested #nodejs

Post on 17-May-2015

615 views

Category:

Technology

2 download

Embed Size (px)

TRANSCRIPT

<ul><li> 1. your project testednodejsby @edjafarov, 13 13 .</li></ul> <p> 2. structureunit frontendcode unit stylefunctional backendcheckintegr. backend, 13 13 . 3. why tests fail Its taking too long Its too hard to run You dont runem They fail or blink, 13 13 . 4. style checkjshintsame as jslint but you can ignore anythingand test YOUR code style, 13 13 . 5. jshint, 13 13 . 6. unit testing mocha [mk]test framework for async code chai [t] BDD / TDD assertion library sinontest spies, stubs and mocks for JavaScript rewirenode.js dependency injection, 13 13 . 7. mocha/chai, 13 13 . 8. sinon spy, 13 13 . 9. sinon stub, 13 13 . 10. rewire, 13 13 . 11. integration testing nockHTTP mocking and expectations library localtunnel exposes your localhost to the world, 13 13 . 12. nock, 13 13 . 13. localtunnel, 13 13 . 14. frontend unit testing testacular-karma [jasmine/mocha] Spectacular Test Runner for JavaScript. And you can do test coverage (:, 13 13 . 15. karma congurator, 13 13 . 16. functional testing PhantomJS 1.8 + require(wd)A node.js javascript client for webdriver/selenium 2, 13 13 . 17. Selenium WD, 13 13 . 18. Thanks!jshintmochachaisinonQ&amp;Arewire nocklocaltunneltestacular-karmaphantomjs + wd wanna do hardcore node.js? http://bit.ly/fd-debitoor, 13 13 .</p>