Testing code creates more reliable and maintainable applications. Testing a complex app with multiple dependencies can be, well, complex. A common dependency that needs to be managed in a test environment is a database. In this screencast, you’ll learn how to incorporate a database into your tests to increase their value.
After this screencast, you'll be able to:
- Test parts of your application that rely on records existing in your database.
- Use root-level lifecycle hooks in Mocha to improve control of test execution.
- Write meaningful integration tests.
Familiarity with Node.js, testing fundamentals, and package managers (npm or yarn) is recommended.
For the More Curious...
BNR Guide to Front-End Web Development
Full Stack Courses