質問

With a quick search over stackoverflow was not able to find anything so here is my question.

I am trying to write down the testing strategy for a application where two applications sync with each other every day to keep a huge amount of data in sync. enter image description here

As its a huge amount of data I don't really want to cross check everything. But just want to do a random check every time a data sync happens. What should be the strategy here for such system?

I am thinking of this 2 approach. 1) Get a count of all data and cross check both are same 2) Choose a random 5 data entry and verify that their proprty are in sync.

Any suggestion would be great.

役に立ちましたか?

解決

What you need is known as Risk Management, in Software Testing it is called Software Risk Management.
It seems your question is not about "how to test" what you are about to test but how to describe what you do and why you do that (based on the question I assume you need this explanation for yourself too...).

Adding SRM to your Test Strategy should describe:

  • The risks of not fully testing all and every data in the mirrored system
  • A table scaling down SRM vs amount of data tested (ie probability of error if only n% of data tested versus -e.g.- 2n% tested), in other words saying -e.g.!- 5% of lost data/invalid data/data corrupption/etc if x% of data was tested with a k minute/hour execution time
  • Based on previous point, a break down of resources used for the different options (e.g. HW load% for n hours, manhours used is y, costs of HW/SW/HR use are z USD)
  • Probability -and cost- of errors/issues with automation code (ie data comparison goes wrong and results in false positive or false negative, giving an overhead to DBA, dev and/or testing)
  • What happens if SRM option taken (!!e.g.!! 10% of data tested giving 3% of data corruption/loss risk and 0.75% overhead risk -false positive/negative results-) results in actual failure, ie reference to Business Continuity and effects of data, integrity, etc loss

Everything else comes to your mind and you feel it applies to your *current issue* in your *current system* with your *actual preferences*.
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top