Learn Server Testing with TDD
Learn to use test-driven development to create a JavaScript server using the Express framework.
StartServer Testing Stack
Lesson 1 of 2
- 1When testing an application, feature tests expose required tests or implementations at different levels of the application technology stack. One of those levels is the backend server. Server test…
- 2When writing tests, sometimes you’ll find that the tests require calculation steps or inline code to determine if the test is passing. For example, to test if an array foo includes an element bar u…
- 3Our back-end server is serving dynamic HTML to the user. For the homepage, this is located in the jsdom-test.js file to the right. It is possible to use .include() to verify that the HTML respo…
- 4A server typically handles many requests at a time, but may be only capable of processing a subset of the requests concurrently. One side effect of this is that the server response time is neither …
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory