Myvideo

Guest

Login

Unit Testing Express Middleware / TDD with Express and Mocha

Uploaded By: Myvideo
4 views
0
0 votes
0

Even for JavaScript software developers well-versed in Agile practices, using test-driven development in and Express can be challenging. In this presentation, I identify solutions to some of the most significant challenges to using TDD with Express, including mocking data in MongoDB / Mongoose, using promises to control asynchronous testing in Mocha with Chai, and separating concerns to write robust and enduring test suites. A relatively similar slide deck is available here:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later