Embodiments include a method for generation of test scenarios based on risk analysis. The method includes receiving a first set of code test scenarios, the first set of code test scenarios configured to test one or more first code components, the first code components each including first code attributes. The method also includes determining a probability of finding defects in the first code components based on the first code attributes. The method also includes generating a second set of code test scenarios based on the determining the probability of finding defects in the first code components based on the first code attributes, where the second set of one or more test scenarios is configured to test one or more second code components based on the second code attributes.
展开▼