- nmraoChampion Level 3
Just curion to know. How would be assertion dependent on environment. Would you please share the use case?
- davinci020Occasional Contributor
Say you have a TST-environment where input A will give back output B (and you assert output B).
Say you also have a UAT-environment where input A will give back output C.
When you switch to UAT and you will send input A, then the assertion will fail because it was expecting output B but actual value was C.
It would be nice if assertions could also be variable, based on the selected environment. I can imagine that UAT-environment has more production-like data, compared to a TST-environment.
Is this what you want Minophis ?
Related Content
- 4 years ago
- 9 years ago