Choosing a Testing Approach in a Complex World Flashcards

1
Q

What happened during the 2003 Northeast Blackout?

A

Previously unknown fault causes power network alarms to be silent.

Unprocessed events were queued up in alarm system

  • system fails under load
  • backup alarm server starts and fails for same reason (does not refresh queue.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are lessons learned of the 2003 Northeast Blackout?

A

Race condition caused infinite loop in alarm program.

Very hard to trigger and trace. Took 8 weeks to do so.

Lesson:
We need better testing, we already had “more” testing, but it would not have likely uncovered the fault had there been more.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happened during the “Flash” crash?

A

DJI fell 600 points. Biggest one day decline thus far. Entirely reversed by the end of the trading day.

High frequency trading algorithms followed pre-set rules. They start buying and selling a particular contract in huge amounts after a mutual fund dumped them. This exhausts ordinary buyers and the price spirals as the HFTs keep buying and selling.

Stop logic occured for 5 seconds to pause trading, price rallies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are lessons learned of the “Flash” crash?

A

It is super hard to track and unveil faults that can be caused in situations where you have an:

  • emergent and ever-changing event and environment.
  • you have multiple independent software agents that influence this event and environment.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happened during the Therac-25 incidents?

A

A fault occurred when a user would type too quickly. Which delivers a strong beam and does not filter out the radiation. Causes massive overdoses.

This was a fatal accident in some cases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are lessons learned from the Therac-25 incidents?

A

We NEED to get better at testing!

Also, maybe have more physical fail-safes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why do people often don’t test well?

A

Testing activities get pushed to the end. Where they may be dropped entirely.

Benchmarks look great, issues don’t

Bad news is squashed by management. Perhaps before a release.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some definite non-solutions.

A

Becoming a testing zealot. You will piss people off.

Becoming a one technique fanatic.

These will definitely:

  • Lead you to bad decisions.
  • Destroy your credibility and the reputation of valuable techniques.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What can you do to be a better tester?

A

Know a wider range of techniques.

Know many ways to think of those techniques.

Be flexible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a better model for testing?

A
Testers
Coverage
Potential problems
Activities
Evaluation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Who does the testing?

A

In-house team
Realistic End users
Subject matter experts?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you do the tests (activities)

A
Regression
Manually scripted
Exploratory
Installation
Load Testing
Long sequence
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can you learn more about testing documentation standards and other standards

A

Should work top down: find what is specifically relevant to you and then work in more details.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why can your testing “advocacy” fall short?

A

Commercial incentives are too strong! Time-to-Market first.

Quality improvement might cost you market share. Especially if customers can’t see your higher quality.

Subject of this is called testing economics or quality economics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What can make a difference in your advocacy?

A

Having a relevant standard would help

It can make your case for testing, but you still need to understand it. Sometimes standards really are just bloat.

Standards are good for good testers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly