- access to functions that support many operations
- generate random numbers
- pick a random number
- pick a random card from a deck, flip a coin etc
- When making your password database more secure
- powering a random page feature of your website.
- First of all, We must import random function module.
import random
function | Usage |
---|---|
Randint | Generate random integer |
Random | Generate a large random number |
Choice | Generate random choise from a sequence |
Shuffle | shuffles the elements in list in place |
Its the process of identifying the risks in applications or software that you built and prioritizing them to test.
- To highlights the potential problem areas.
- Helps the developers and managers to mitigate the risks.
- Use of new hardware
- Use of new technology
- Use of new automation tool
- The sequence of code
- Availability of test resources for the application
There are three steps:
-
Searching the risk
-
Analyzing the impact of each individual risk
-
Measures for the risk identified