Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 2.44 KB

read06.md

File metadata and controls

38 lines (25 loc) · 2.44 KB

Random Module in Python

The random module provides access to functions that support many operations. Perhaps the most important thing is that it allows you to generate random numbers.

Random functions

The Random module contains some very useful functions.

  • Randint If we wanted a random integer, we can use the randint function Randint accepts two parameters: a lowest and a highest number. Generate integers between 1,5. The first value should be less than the second.

  • Random If you want a larger number, you can multiply it.

  • Choice Generate a random value from the sequence sequence.

  • Shuffle The shuffle function, shuffles the elements in list in place, so they are in a random order.

  • Randrange Generate a randomly selected element from range(start, stop, step).

What is Risk Analysis in Software Testing and how to perform it?

The probability of any unwanted incident is defined as Risk. In Software Testing, risk analysis is the process of identifying the risks in applications or software that you built and prioritizing them to test. After that, the process of assigning the level of risk is done. The categorization of the risks takes place, hence, the impact of the risk is calculated.

Why use Risk Analysis?

In any software, using risk analysis at the beginning of a project highlights the potential problem areas. After knowing about the risk areas, it helps the developers and managers to mitigate the risks. When a test plan has been created, risks involved in testing the product are to be taken into consideration along with the possibility of the damage they may cause to your software along with solutions.

Risk Identification

There are different sets of risks included in the risk identification process. Those are as follows:

  • Business Risks: This risk is the most common risk associated with our topic. It is the risk that may come from your company or your customer, not from your project.

  • Testing Risks: You should be well acquainted with the platform you are working on, along with the software testing tools being used.

  • Premature Release Risk: a fair amount of knowledge to analyze the risk associated with releasing unsatisfactory or untested software is required

  • Software Risks: You should be well versed with the risks associated with the software development process.

  • After identifying the risks associated with your software, the next step is to assess the risks; i.e, Risk Assessment.