Hello, how are you?
I’m having a little inconvenient at handling automated tests.
The SUT is an API that responds data from a SOLR.
I made a large suit of automated tests in soapui, managed in git.
The tests search in the databases (de data sources of the SOLR) of each environment to take data to make comparisons.
The problem is… The tests are the same in each environment so, they are repeated in develop, integration and pre-production.
The BIG problem is… in develop’s environment there is no security in the data of the databases, so there are a medium probability to take data that make “false” errors.
There are a good practical or advice in this scenario?
Maybe make little tests for develop, an deep tests in integration and a smoke test in pre production?
I don’t know and, being the tests needed to pass to promote the solution to production make a big headache when the tests fails because data error.
Regards