I have interviewed CTOs & EMs of > 50 new-age companies about their testing cultures And learned something completely opposite to what I believed while working at Morgan Stanley.
We have a anonymiser which identifies common sensitive /Personally identifiable data like credit card, zip code and replaces them with anonymised data.
We also provide configuration option to specify additional fields are needed to be anonymised
Are you somehow automatically hooking into those function calls, recording their return values, and then mocking the functions in the replays? - this is correct.
Yes, we rely a lot on openTelemetry for this. They have really good support for most libraries in Java, node and are progressing quickly in others. We are also contributing to it by extending support for other languages, which we'll be open sourcing soon.
If you are contributing, isn’t it open-source by default? Or you mean you have ‘proprietary-ish’ (since it’s all client side, kind of impossible) packages that aren’t part of opentelemetry yet?
I can relate to this perspective, however, some complexities we have come across in building this so far:
- Support for high number of languages, downstream dependencies
- Intelligent sampling to choose requests with high coverage and auto update them over time
- Performance, safety and data compliance guarantees