Contract Tests in the Enterprise

Contract Tests in the Enterprise

Devoxx via YouTube Direct link

Testing Strategy - Hard Coded Object Stubs

12 of 40

12 of 40

Testing Strategy - Hard Coded Object Stubs

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Contract Tests in the Enterprise

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

  1. 1 Intro
  2. 2 About me
  3. 3 Just another day at work
  4. 4 How the code is currently organized
  5. 5 How the code is currently deployed
  6. 6 We're agile & we care about quality
  7. 7 Application Architecture
  8. 8 How the code is currently tested
  9. 9 Unit tests FTW!
  10. 10 Integration tests FTW!
  11. 11 End to end tests FTW!
  12. 12 Testing Strategy - Hard Coded Object Stubs
  13. 13 Problems with hard coding stubs
  14. 14 Generating Stubs From Proxy
  15. 15 Testing Strategy - Generated Remote Stub
  16. 16 Hard Problems
  17. 17 Service Evolution Patterns
  18. 18 Definitions
  19. 19 Provider Contract
  20. 20 Consumer Contract
  21. 21 Benefits of Consumer Driven Contracts
  22. 22 How the code should be tested
  23. 23 Consumers create stubs (current approach)
  24. 24 Example of a contract
  25. 25 Generating Stubs & Tests (PRODUCER)
  26. 26 Contract Tests (PRODUCER)
  27. 27 Generated Stubs (PRODUCER)
  28. 28 Monolith as source of truth (better approach)
  29. 29 Reuse Stubs (CONSUMER)
  30. 30 Nice API creation
  31. 31 Store the stubs from contracts locally
  32. 32 Play with the API offline
  33. 33 Producer sets up a project
  34. 34 Producer makes the generated tests pass
  35. 35 CI server builds the producer code
  36. 36 Consumer uses uploaded stubs
  37. 37 Messaging
  38. 38 Doesn't work
  39. 39 Polyglot
  40. 40 What have we managed to build?

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.