DEV Community


Discussion on: Production vs Synthetic Data for Testing

phlash909 profile image
Phil Ashby

We have tremendous fun with 100+ suppliers (API vendors of various sorts), who all bring some sort of test interface, frequently synthetic data, none of them compatible with each other...what to do?

  • we mock them and use a consistent local synthetic data set for local testing (of our combinatorial logic or other internal testing).
  • we use their synthetic data for point testing such as connectivity/credentials checks (when in UAT/Stage/Live -all production)
  • we use production data, hopefully with test markers to avoid side effects (like marking someone's credit history) for end-end tests across multiple providers.