compsci 230 s1c 2011 software design and construction software testing

5
COMPSCI 230 S1C 2011 Software Design and Construction Software Testing

Upload: katherine-grant

Post on 17-Dec-2015

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: COMPSCI 230 S1C 2011 Software Design and Construction Software Testing

COMPSCI 230 S1C 2011Software Design and Construction

Software Testing

Page 2: COMPSCI 230 S1C 2011 Software Design and Construction Software Testing

Syllabus

COMPSCI 230Overview2

Four Themes: The object-oriented programming paradigm (weeks 1-3:

Nasser) Object-orientation, object-oriented programming concepts and

programming language constructs Software quality (weeks 4-5: Clark)

Test-driven development Frameworks (weeks 6-7: Clark; week 8: Nasser)

Inversion of control, AWT/Swing and Junit Application-level concurrent programming (weeks 9-12:

Nasser) Multithreading concepts, language primitives and abstractions

Page 3: COMPSCI 230 S1C 2011 Software Design and Construction Software Testing

Re-introducing myself

COMPSCI 230Testing3

Clark Thomborson: [email protected], tel x85753 Office hrs: TuTh 2-3, in room 303S-593 Background:

1973-5 Ass’y language programmer for Nicolet Technology 1975 BS(honors) Chemistry, MS CompSci/Eng’g, Stanford 1980 PhD Computer Science, C-MU 1979-86 Asst Prof at UC Berkeley 1983 Married Barbara Borske, becoming a Thomborson 1986-94 Prof at U Minnesota-Duluth (1992-3 Visiting Prof at MIT) 1995 Principal Programmer at LaserMaster (6 mo.) 1995-6 Systems Integrator, contracted to Digital Biometrics (6 mo.) 1996 emigrated to NZ

Page 4: COMPSCI 230 S1C 2011 Software Design and Construction Software Testing

Acknowledgements

COMPSCI 230Testing4

Most of the lecture slides in this unit were developed by Ian Sommerville, author of Software Engineering. This textbook is now in its 9th edition (2011). Our library has more than a dozen copies of various

editions (from 1982!). http://www.comp.lancs.ac.uk/computing/resources/IanS/SE8/Presentations/i

ndex.html:

Powerpoint presentations, including all of the diagrams in the book, may be downloaded from this page. The presentations may be used by instructors teaching courses in software engineering. They have been designed for use in conjunction with the book so are not complete courses … I have no objections to people modifying them so long as you credit the source. You may also put these on your own server if this is more convenient for students.

Page 5: COMPSCI 230 S1C 2011 Software Design and Construction Software Testing

Educational Goals (for Testing) Understand the importance of testing

Learn about some “famous failures”: Ariane, LAS, INCIS Discuss reasons why better testing might have avoided these

failures; and discuss other important factors. (“A” level) Know enough about test-driven development that you can

be useful on your first day of work as a developer or tester. “B” level questions: write a unit test, specify a test suite, ...

Know basic terms and concepts: validation testing, defect testing, unit test, component test, system test, … (“C” level)

Know how to use a simple tool for test automation JUnit – covered in tutorial

COMPSCI 230Testing5