Your Test Suite Is Making Too Many Database Calls

Your Test Suite Is Making Too Many Database Calls

Ruby Central via YouTube Direct link

Intro

1 of 24

1 of 24

Intro

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Your Test Suite Is Making Too Many Database Calls

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Negative effects of slow tests
  3. 3 Expensive things in tests
  4. 4 The testing pyramid
  5. 5 Avoid persisting data
  6. 6 Locations
  7. 7 Shared test setup
  8. 8 Tests with too much data
  9. 9 Tests with wrong data
  10. 10 Solution: Inline setup
  11. 11 Factories that do too much
  12. 12 Compounding factories
  13. 13 Minimal factory
  14. 14 Extend base with traits
  15. 15 Callbacks that create more data
  16. 16 Broken data
  17. 17 Updating in setup
  18. 18 Profiling factories
  19. 19 Diagramming
  20. 20 Organization
  21. 21 Diamond factories
  22. 22 Avoid creating extra data
  23. 23 Debugging techniques
  24. 24 Joel Quenneville

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.