1. Урок 1. 00:01:19
    Initialising project
  2. Урок 2. 00:03:51
    Hello World Express REST API in less than 5 mins!
  3. Урок 3. 00:01:31
    CRUD Methods we are going to build the TDD-way in REST
  4. Урок 4. 00:00:40
    Short intro to Jest + How to install Jest in our project
  5. Урок 5. 00:03:56
    Our first test with Jest and Express REST API
  6. Урок 6. 00:01:17
    Making our first test with Jest + Express REST API pass!
  7. Урок 7. 00:01:22
    Make Jest run automatically on file changes
  8. Урок 8. 00:03:28
    Defining a data model for our Todo items with Mongoose
  9. Урок 9. 00:04:05
    Using jest.fn to mock our Mongoose model functions
  10. Урок 10. 00:01:41
    Making our test with Jest mock model pass
  11. Урок 11. 00:01:29
    How to configure Jest test environment
  12. Урок 12. 00:03:23
    How to mock Request and Response objects in Express API
  13. Урок 13. 00:02:46
    Writing test with mock Request object and making it pass!
  14. Урок 14. 00:01:18
    Using beforeEach in Jest tests
  15. Урок 15. 00:02:37
    Testing if response code is 201 and response is sent
  16. Урок 16. 00:04:48
    Test if response is sending back JSON body
  17. Урок 17. 00:06:36
    Creating our first integration test with Supertest and Jest
  18. Урок 18. 00:01:50
    How to make our Express app ready for integration testing
  19. Урок 19. 00:03:16
    Creating our Express Router
  20. Урок 20. 00:02:09
    How to debug tests in Jest
  21. Урок 21. 00:01:01
    Setting up Express JSON request body middleware
  22. Урок 22. 00:01:05
    Fix for address already in use error
  23. Урок 23. 00:03:01
    Making our controller function use async/await
  24. Урок 24. 00:02:04
    Setting up our MongoDB database in the cloud!
  25. Урок 25. 00:01:25
    Creating a MongoDB database user
  26. Урок 26. 00:03:18
    Connect to MongoDB database with Mongoose
  27. Урок 27. 00:03:30
    Modify our unit tests to use async/await
  28. Урок 28. 00:02:09
    Creating a server.js for running our Express REST API manually
  29. Урок 29. 00:03:06
    Manual Testing with Postman
  30. Урок 30. 00:02:56
    Oops! We're missing error handling!
  31. Урок 31. 00:03:17
    Unit tests for error handling
  32. Урок 32. 00:00:55
    Making our error handling unit test PASS
  33. Урок 33. 00:01:42
    Creating a integration test for error handling
  34. Урок 34. 00:01:15
    Manual test for error handling
  35. Урок 35. 00:00:48
    Making a test for errors returning JSON body
  36. Урок 36. 00:02:31
    Create middleware to parse errors in JSON
  37. Урок 37. 00:02:03
    Making all of our tests pass and final manual test!
  38. Урок 38. 00:01:27
    Intro + first test exercise
  39. Урок 39. 00:01:37
    Making first test for getTodos pass
  40. Урок 40. 00:03:23
    Test if TodoModel.find is called
  41. Урок 41. 00:04:34
    Test if response is being sent back correctly
  42. Урок 42. 00:03:48
    Test for error handling
  43. Урок 43. 00:03:59
    Integration test for GET /todos
  44. Урок 44. 00:00:57
    Manual test with Postman
  45. Урок 45. 00:02:43
    Intro + Getting first test done
  46. Урок 46. 00:03:15
    Creating mock function TodoModel.findById and test for calls
  47. Урок 47. 00:01:44
    Exercise! Make test for response and make test pass!
  48. Урок 48. 00:04:20
    Solution to response testing with getById()
  49. Урок 49. 00:02:54
    Error handling unit test
  50. Урок 50. 00:02:31
    If TodoModel could not be found in database
  51. Урок 51. 00:03:58
    Integration test for GET /todos/:todoId
  52. Урок 52. 00:03:08
    404 Integration test + final manual tests
  53. Урок 53. 00:01:07
    Intro to PUT method and first test
  54. Урок 54. 00:04:50
    Test if TodoModel.findByIdAndUpdate is called
  55. Урок 55. 00:03:07
    Test if PUT response is sent back
  56. Урок 56. 00:02:18
    Test HTTP PUT error handling
  57. Урок 57. 00:02:10
    HTTP PUT 404 test
  58. Урок 58. 00:03:59
    HTTP PUT Integration test
  59. Урок 59. 00:02:59
    Using Jest.mock instead of multiple Jest.fn + Intro to final challenge!
  60. Урок 60. 00:08:15
    Unit tests for HTTP Delete method
  61. Урок 61. 00:06:12
    Integration test for HTTP Delete Method + manual test + you are awesome!!