Save 37% off PRO during our Black Friday Sale! »

Testing Reactivity in GraphQL

Testing Reactivity in GraphQL

Testbusters Vienna

E6c61f085d7aceaf97b7bd00e9195514?s=128

SQUER Solutions

June 25, 2020
Tweet

Transcript

  1. @duffleit Testing Reactivity in GraphQL RBI Testing Day & TestBustersNight

    @StayAtHome Edition David Leitner - @duffleit
  2. @duffleit @duffleit @duffleit david@squer.at David Leitner Lead Engineer

  3. @duffleit Testing Reactivity in GraphQL Testing Reactivity in GraphQL

  4. @duffleit reactivemanifesto.org

  5. @duffleit

  6. @duffleit

  7. @duffleit

  8. @duffleit

  9. @duffleit

  10. @duffleit MicroService A MicroService B

  11. @duffleit MicroService A MicroService B

  12. @duffleit MicroService A MicroService B MicroService B MicroService B

  13. @duffleit MicroService A MicroService B MicroService B MicroService B

  14. @duffleit MicroService A MicroService B

  15. @duffleit MicroService A MicroService B

  16. @duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL

  17. @duffleit Testing Reactivity in GraphQL

  18. @duffleit ✅ Consumer Driven APIs ✅ Native Schema Support ✅

    Streaming Support
  19. @duffleit Error: GraphQL Context not defined

  20. @duffleit ✅ Works But, not a Unit Test anymore.

  21. @duffleit ✅ Works as test in isolation

  22. @duffleit

  23. @duffleit

  24. @duffleit

  25. @duffleit GraphQL enables Consumer Driven Contract Testing naturally

  26. @duffleit

  27. @duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL State

    Hydration Inject Test State
  28. @duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL State

    Hydration Inject Test State Inject Test State
  29. @duffleit Lambda/Actor/Microservice Lambda/Actor/Microservice Lambda/Actor/Microservice Backend for Frontend HTTP GraphQL State

    Hydration
  30. @duffleit

  31. @duffleit GraphQL changes the way how to test, but not

    the fact that you should test.
  32. @duffleit by: twitter.com/swardley

  33. @duffleit @duffleit @duffleit squer.at/slides David Leitner david@squer.at

  34. @duffleit