reading-notes

Game of Green

Random module

Source: How to use the Random Module in Python

Python Random

import random
print random.randint(0, 5)

# returns 1, 2, 3, 4, 5
import random
random.random() * 100

# between 0 - 100
import random
myList = [2, 109, False, 10, "Lorem", 482, "Ipsum"]
random.choice(myList)
from random import shuffle
x = [[i] for i in range(10)]
shuffle(x)

# print x  gives  [[9], [2], [7], [0], [4], [5], [3], [1], [8], [6]]
# of course your results will vary
import random
for i in range(3):
    print random.randrange(0, 101, 5)

Risk Analysis in Testing

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

Identifying risks in application and prioritizing them to test

Examples:

  1. Use of new hardware
  2. Use of new technology
  3. Use of new automation tool
  4. The sequence of code
  5. Availability of test resources for the application

Avoidable Risks

  1. The time that you allocated for testing
  2. A defect leakage due to the complexity or size of the application
  3. Urgency from the clients to deliver the project
  4. Incomplete requirements

Risk Avoidance

Risk Magnitude

Risk Identification

Risk Assessment

Risk Analysis