Glimpses From The History of Software Testing: Sagar Sen Software Engineering Dept., Simula Research Laboratory
Glimpses From The History of Software Testing: Sagar Sen Software Engineering Dept., Simula Research Laboratory
of Software Testing
Sagar Sen
Software Engineering Dept., Simula Research
Laboratory
1
Wednesday 20 November 13
Quadraplex telegraph
Mangled Messages! The 26-year-old engineer combined diplex and duplex circuits to send two
messages in each direction using changes in current direction and strength. The problem in this
approach was the false break in a messages signal created by the changing polarity of the
electromagnet in the diplex circuit when the current switched direction.
Edison worked around this by building what he later called a bug trap to isolate the unwanted
break so that it wouldnt interfere with the meaning of the Morse-coded signal.
3
Wednesday 20 November 13
In 1947 Grace Hopper and her staff started using the word
bug to describe technical glitches when they found a dead
moth [above] in Relay 70 of Harvard's Mark II computer.
6
Wednesday 20 November 13
7
Wednesday 20 November 13
Debugging
Testing
Make sure a program solves the
problem!
11
Wednesday 20 November 13
12
Wednesday 20 November 13
14
Wednesday 20 November 13
Barry Boehm
stated that the cost
to fix error increases
exponentially the
later you detect it!
15
Wednesday 20 November 13
Analysis
Review
Test
Product Evaluation
17
Wednesday 20 November 13
National
Publications
Meetings
Standards
Test manager
Testing books at
Testing
Lead tester
average rate of 2/year
Conference
Test analyst
since Myers (1979)
(Bill Hetzel)
Test technician
Academic Testing Workshops
Industrial Testing Conf. (1984)
18
Wednesday 20 November 13
ANSI/IEEE
Standard for Test
Documentation
(1983)
Standard for Unit
Testing (1987)
19
Wednesday 20 November 13
Explore area
with resources
to discover information
21
Wednesday 20 November 13
"The Monkey" was a Macintosh application developed by Steve Capps prior to 1983. It used
journaling hooks to feed random events into Mac programs, and was used to test for bugs in
MacPaint.
Shortcomings...
1. Usually finds very simple faults
2. Poor code coverage
3. Hard to catch boundary value conditions
22
Wednesday 20 November 13
23
Wednesday 20 November 13
Test Every OS with Browser, Every Browser with Resolution, and Every OS with Resolution.
How?
The AETG system uses new combinatorial algorithms to generate test sets
that cover all valid n-way parameter combinations. The size of an AETG test
set grows logarithmically in the number of test parameters.
24
Wednesday 20 November 13
Routine School
Math School
Quality School
25
Wednesday 20 November 13
Context-driven School
26
Wednesday 20 November 13
28
Wednesday 20 November 13
29
Wednesday 20 November 13
Testing Experience
Testing Experience magazine launched in 2008
The magazine Testing Experience is launched by the German company Daz & Hilterscheid.
A magazine to share experiences and opinions of testers from the industry.
30
Wednesday 20 November 13
31
Wednesday 20 November 13
32
Wednesday 20 November 13
What next?
1. Journey of Software Testing: We journeyed from the debugging era (before 1956)
to test-driven development where testing comes first.
2. Testing tools? The only tools that made an impact in the industry are (a) test
automation tools such as continuos integration (b) Coverage analysis tools (Peter
Russell, Testing Experience in Future of Testing)
3. Glimpses from the future of testing? (a) Design for testability (b) Lean is hot. Lean
is Every. Test Management should be Lean (c) Agile Testing (d) Test data management
(rejuvenation of test data) (e) Automatic test generation with human-in-the-loop (f)
effective testing system of systems.
4. 22nd Century Testing? Software that is completely verified automatically. What will
happen to testers?
33
Wednesday 20 November 13