march 25, 2004. announcements friday – recruiting event 12-6 dean smith center bloomberg lp, new...

22
March 25, 2004

Upload: laurel-strickland

Post on 31-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

March 25, 2004

Page 2: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Announcements Friday – recruiting event

12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships programmers C/C++ and UNIX

New section of 190 next fall: Logic and Automated Theorem Proving Prof. Plaisted

Page 3: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Final Presentations Logistics

11 presentations @ 20 minutes Need 4 hours Exam scheduled for noon on April

27 Propose that we run from 11:30 –

3:30 Problems?

Page 4: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Reminder: Data to Collect

Your expertise level for (3 point scale) Language and platform Technology

Time spent Education Meetings Code and test Documentation

Page 5: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

U.S. Students Shun Computer Sciences San Jose Mercury News (03/24/04) CRA’s Taulbee Survey

U.S. undergraduate enrollment in CS fields declined by 19 percent in 02-03

newly declared CS majors dropped 23 percent

concern about offshore outsourcing lowered career expectations

"most of the solutions to the complex problems that companies need to solve haven't been written yet…

that's what we should be preparing our students to do"

Page 6: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Four Parts of Testing

Model Select test cases Execute test cases Measure

Page 7: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Model

Page 8: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Basic Software Model

capabilities

environment

User interfaces

APIs

Operating system

Files

Input

Output

Storage

Processing

Page 9: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Test Case Selection

Page 10: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

From the User Interface: Inputs

Error messages Default values Character sets and data types Overflow input buffers Input interactions Repeated inputs

Page 11: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

From the User Interface: Outputs Concept: What inputs create interesting

outputs? REQUIRES DOMAIN EXPERTISE

State-based outputs Invalid outputs

Changeable outputs Screen refreshes

Page 12: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Bubble diagrams: Reverse state exploration

Define a failure state What would have happened to get you

there? Repeat

Find a way to force it down that path

Let’s try it: remote access keys

Page 13: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Capabilities – Storage and Processing

Same input, different initial conditions Too many or too few values in a data

structure Alternative ways to modify constraints Invalid operator/operand combinations Recursive functions Overflow/underflow computations Feature interaction

Page 14: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

How to select specific cases

Data based Boundary conditions Equivalence classes

Control based State transitions

Page 15: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Let’s try it

Word PowerPoint calculator

Page 16: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Execution

Page 17: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Execution tools

Automation – often primarily scripts

Critical for regression testing GUI tools are abundant, but

marginal

Page 18: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Measurement

Page 19: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Test Coverage Metrics Statement coverage

basic block coverage Decision coverage

Each Boolean expression Condition coverage

Each entity in Boolean expressions Path coverage

loops

Advantages of different models?

Page 20: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Estimating how many bugs are left

Historical data Capture-recapture model from

biology

Page 21: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

References

Whittaker, How to Break Software

Kaner, The Impossibility of Complete Testing at www.kaner.com (Articles)

Page 22: March 25, 2004. Announcements Friday – recruiting event 12-6 Dean Smith Center Bloomberg LP, New York City full-time positions and summer internships

Your Test Plan and Testing

Unit System User