A TechTalk presentation of Node.js Ninja Ihor Yamshchykov about TDD in Node.js apps.
Check out more info about this TechTalk here: http://blog.techmagic.co/techtalk-test-driven-development-in-node-js-apps/
2. • “Unit tests” test individual units of code in isolation (for instance, individual
functions). They are fast and you usually have a lot of them.
• “Integration tests” test the integrations between different units, for
example the interaction between one module and its dependencies.
• “E2E (or end-to-end) tests” test the system as a whole, from the UI down
to the data store, and back.