Mateusz Kwaśniewski
Mindventures

TDD in Node.js 🇵🇱 🇬🇧 1-2 days

Description

TDD - a practice, a tool, a strategy to develop software

It helps to stay focused and design good APIs in the micro scale. As any other tool or practice it works in certain contexts.

In 2 days you'll learn to design Node.js apps with tests. We'll be practicing so-called London School of TDD aka outside-in development.

On day 1 day we test drive command-line app for data processing (pipes and filters pattern).

On day 2 we test drive REST API with Express.js and MongoDB.

The size of our problem is about 150 lines of production code and 300 lines of test code for each app.

What will I learn?

Agenda

TDD

Tests

Difficult dependencies

Async code

TDD and FP

Tools