How do you plan testing in a polyglot architecture (multiple tech stacks)?

Technical