Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Testing in Production

Testing in Production

How do you know your feature is working perfectly in production? If something breaks in production, how will you know? Will you wait for a user to report it to you? What do you do when your staging test results do not reflect current production behavior? In order to test proactively as opposed to reactively, try testing in production! You will have an increased accuracy of test results, your tests will run faster due to the elimination of bad data, and you will have higher confidence before releases. This can be accomplished through feature flagging, canary releases, setting up a proper CI/CD pipeline, and data cleanup. You will leave this talk with strategies to mitigate risk, to better your understanding of the steps to get there, and to shift your company’s testing culture, so you can provide the best possible experience to your users. At the end of the day, we don't care if your features work in staging, we care if they work in production.

Avatar for talianassi

talianassi

May 01, 2019
Tweet

More Decks by talianassi

Other Decks in Technology

Transcript

  1. PRODUCTION Feature Flag Target Users: Devs Testers Product Design Only

    these people see the changes These people (end users) do not see any changes
  2. PRODUCTION Feature Flag Target Users: Devs Testers Product Design These

    people see the bugs and fix them These people (end users) do not see any bugs
  3. Set the state of the flag for the duration of

    the test OVERRIDE YOUR FEATURE FLAGS
  4. Think of the last feature your team deployed Is it

    working? Right now? In Production? How do you know?
  5. Testing in production is the only way to know your

    features are working right now in production
  6. Use examples from your past Start using feature flags for

    free! split.io Culture Shift Is your staging environment unreliable?
  7. No one cares if your feature is working in staging,

    we care if it works in production The only way to know if it’s working in production is to test it in production
  8. Backend Engineer Data Infrastructure Engineer Frontend Engineer Infrastructure Engineer SDK

    Engineer Sr. Backend Engineer We’re hiring! split.io/careers