Skip to Content
Your First Week With Node.js, 2nd Edition
book

Your First Week With Node.js, 2nd Edition

by James Hibbard, Craig Buckler, Mark Brown, Nilson Jacques, James Kolce, Paul Orac, M. David Green, Florian Rappl
April 2020
Beginner content levelBeginner
192 pages
3h 15m
English
SitePoint
Content preview from Your First Week With Node.js, 2nd Edition

Chapter 9: Node Testing for Beginners

by M. David Green

Does testing seem like an unwelcome intrusion on your development work day? Don’t worry, I get it.

If you started out not writing tests as part of your development process, testing can seem weird and complex. That’s especially true when you want to believe you’ve already got everything working. Nobody enjoys being confronted with proof of how brittle all the complex and intricate code they’ve spent the last few days (or years) polishing and perfecting might be.

Testing conjures up the need for a whole new parallel codebase, perhaps as large as the one you already have, in an unfamiliar syntax. And the notion of test-driven development might force you to think through your requirements results-first ...

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

Learning Node.js Development

Learning Node.js Development

Andrew Mead
Node.js: Tools & Skills, 2nd Edition

Node.js: Tools & Skills, 2nd Edition

James Hibbard, Michael Wanyoike, Nilson Jacques, Jay Raj, Manjunath M

Publisher Resources

ISBN: 9781098122805Errata Page