The invention discloses a transformation test case generation method based on an adaptive random strategy, that is, the test case is randomly and automatically generated based on the adaptive strategy. First, the first group of original test cases is randomly generated, and additional test cases are generated according to the metamorphic relationship, and the two constitute the selected test cases; secondly, the input domain is divided to obtain the sub-domains that are not covered by the selected test cases; thirdly, Randomly generate multiple test cases in this subdomain, select a group of test cases as candidate original test cases, and generate additional test cases according to the metamorphic relationship; finally, according to the distance between the candidate test cases and the selected test cases, and The distance between the candidate original test case and its additional test cases, the test case with the largest distance is selected as the next set of test cases. The test case generation method of the invention is simple and clear, and greatly improves the dispersion, effectiveness and coverage of the test case in the input field.