TechTalk: Test-Driven Development in Node.js apps

Since TechMagic foundation, there a nice tradition in our company to arrange TechTalks. We talk about everything which is new and wide spreaded in technology world. Nowadays there are 35+ Ninjas at TechMagic with the expertise on iOS and Android application development and web solutions extended with JavaScript frameworks such as Angular, React, Node.js and others. And we have lots to share at these TechTalks. Such presentations give chance to get together, share new information, obtain soft skills and implement creativity, while introducing the research publically.

The last TechTalk, arranged by the Node.js Ninja Ihor Yamshchykov was dedicated to Test Driven Development in Node.js applications.

alt

Test-driven development (TDD) is a process in software development which combines test-first development where you write a test before you write just enough production code to fulfill that test and refactoring.

The TDD cycle consists of the following steps:
1. Add a test
2. Run all tests and see if the new one fails
3. Write some code
4. Run tests and verify that new test is passing
5. Refactor code
6. Run tests again and verify that all of them are passing
7. Repeat:)

Find out more info about benefits and drawbacks of TDD in the presentation. Use it on practice to get more experience. Don’t forget that great project starts from a nice approach to its implementation.

Read more about MagicTalks at TechMagic here:
Apple Watch: user experience and development opportunities
Continuous integration for iOS development
“Business Model Canvas”. Upgrading our Lean Development skill

Techmagic - Good&Co case study