A method and system to minimize to redundancy in testing a new software
system by utilizing a knowledge base is provided. The knowledge base may
be represented in a form of a decision tree including leaf nodes which
store previously tested optimal configurations. When the knowledge base
does not contain an optimal configuration for the new software, an
optimal solution for the new software system may be determined by adding
a further decision tree branch to the initial decision tree. A desirable
tree branch may be selected from a table including a predetermined set of
desirable tree branches for each category of software. As a result, the
number of solutions to be tested on the input software may be limited and
cost and effort to run redundant tests on a software system may be
reduced.