The goal of testing to find errors and good test is one that has a high probability of finding an error
Therefore,
you should design design and implement a computer-based system or a product with " testability" in mind.
At the same time, the tests themselves must exhibit a set of characteristics that achieve the goal of finding the most errors with a minimum of effort.