Skip to Content
Learning TypeScript 2.x - Second Edition
book

Learning TypeScript 2.x - Second Edition

by Remo H. Jansen
April 2018
Beginner content levelBeginner
536 pages
13h 21m
English
Packt Publishing
Content preview from Learning TypeScript 2.x - Second Edition

Behavior-driven development (BDD)

Behavior-driven development appeared after TDD, with the mission of being a refined version of TDD. BDD focuses on the way tests are described (specs) and states that the tests should focus on the application requirements and not the test requirements. Ideally, this will encourage developers to think less about the tests themselves and think more about the entire application.

The original article in which the BDD principles were introduced by Dan North is available at http://dannorth.net/introducing-bdd/.

As we have already learned, Mocha and Chai provide APIs for both the TDD and BDD approaches. Later in this chapter, we will further explore these two approaches.

Recommending one of these methodologies is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering TypeScript - Fourth Edition

Mastering TypeScript - Fourth Edition

Nathan Rozentals
Learning TypeScript

Learning TypeScript

Josh Goldberg
TypeScript for Beginners

TypeScript for Beginners

Bharath Thippireddy

Publisher Resources

ISBN: 9781788391474Supplemental Content