Final Exam - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

Final Exam

Description:

... problem solving, short answer questions. Material: Lecture material ... Pair-wise coverage of combinations. Scope of the exam. Drivers / Stubs / Mock objects ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 15
Provided by: alanwi8
Category:

less

Transcript and Presenter's Notes

Title: Final Exam


1
Final Exam
  • Tuesday, July 17, 0900 1200
  • Location STE F0126
  • Format closed book, problem solving, short
    answer questions
  • Material
  • Lecture material
  • Lab material JUnit, dbUnit

2
Scope of the exam
  • Testing basics
  • Defects, failure, risk, verdicts, points of
    control / observation, etc.
  • Principles
  • Sensitivity, redundancy, visibility, etc.
  • Graph models of software
  • Control flow graph
  • Data flow graph
  • Call graph
  • Finite state machines
  • Extended finite state machines

3
Scope of the exam
  • Test coverage from models
  • Control-flow based
  • Branch, multiple-condition, path, etc.
  • Data-flow based
  • All-definitions, all-uses, all du-associations
  • Finite state machine based
  • Transition tour, conformance
  • Test coverage from specifications
  • Equivalence class partitioning
  • Decision tables
  • Pair-wise coverage of combinations

4
Scope of the exam
  • Drivers / Stubs / Mock objects
  • When are they used?
  • How are they set up?
  • What to they have to do?
  • Requirements for using mock objects.
  • Integration testing
  • strategies
  • Object-oriented testing
  • Effects of properties such as encapsulation,
    dynamic binding, etc. on testing.
  • Testing abstract and generic classes.
  • Constructors

5
Scope of the exam
  • Web application testing
  • Client testing strategies mock server, embedded
    server, actual server.
  • Server code testing strategies
    out-of-container, in-container with Cactus
  • Database code testing strategies independent of
    server, with server
  • Purpose of the various tools Cactus, dbUnit,
    Jetty, etc.
  • There will NOT be any test code on this topic
    any questions will be about principles.

6
Scope of the exam
  • System testing
  • Purpose of various types of system testing
  • Issues associated with each.
  • Security SQL injection
  • Operational profiles
  • Mean time to failure and reliability
  • Process maturity models
  • Certifications from CMM, ISO 9000, what they
    mean, and the process involved.
  • Metrics
  • Types of metrics code, from customer
  • Defect tracking

7
Scope of the exam
  • Lab material
  • JUnit JUnit test cases may be used as examples
    on the midterm.
  • Coverage
  • Principles of statement and branch coverage as
    applied to code.
  • Basic idea of how instrumentation tools work.
  • dbUnit
  • What is the purpose of the tool?
  • How would it be used in a test case?

8
Sections from text
  • Chapter 1 Introduction
  • Chapter 2 Framework
  • Section 2.1 only Verification / validation
  • Chapter 3 Basic principles
  • All sections Sensitivity, redundancy, etc.
  • Chapter 4 not covered
  • Chapter 5 Finite models
  • All sections Control flow graphs, call graphs
    FSMs

9
Sections from text
  • Chapter 6 Data Flow models
  • Section 6.1 only Data flow graphs
  • Chapters 7, 8 not covered
  • Chapters 9, 10 Test adequacy, Functional
    testing
  • These chapters have general information about
    test coverage and test construction.
  • Chapters 11
  • Sections 11.1, 11.2, 11.3 only
    Equivalence-class partitioning, Pair-wise
    combinatorial testing

10
Sections from text
  • Chapter 12 Structural testing
  • All sections
  • Topics covered statement, branch, (multiple)
    condition, path coverage
  • Topics not covered boundary, LCSAJ, cyclomatic
    coverage
  • Chapter 13 Data flow testing
  • Sections 13.1, 13.2, 13.3 only definition-use
    associations, du-coverage
  • Chapter 14 Model based testing
  • Sections 14.1, 14.2, 14.3, 14.4 only
  • FSM-based testing, decision tables

11
Sections from text
  • Chapter 15 Testing object-oriented software
  • Sections 15.1, 15.2, 15.3, 15.9, 15.10, 15.11,
    15.12
  • Encapsulation, dynamic binding, inheritance,
    abstract classes, generic classes
  • Chapter 16 not covered
  • Chapter 17 Test execution
  • All sections
  • Chapters 18, 19 not covered
  • Chapter 20 Test planning and process
  • Sections 20.2, 20.3, 20.4
  • Operational profiles, Process models

12
Sections from text
  • Chapter 21 Integration testing
  • All sections
  • Chapter 22 System and Regression testing
  • All sections
  • In section 22.6, only the first 1.5 pages we
    didnt cover the control flow graph method shown
    in the section.
  • Chapter 23 Test automation
  • Sections 21.1 through 21.5, plus 23.8 through
    23.10
  • Chapter 24 Test documentation
  • All sections (as background for the IEEE 829
    standard)

13
Other sources used for lecture notes
  • JUnit in Action
  • Chapter 6 Stubs Jetty
  • Chapter 7 Mock objects
  • Chapter 8 Testing in a server container, Cactus
  • Chapter 9 Testing a servlet
  • Chapter 11 Unit testing database applications

14
Office hours
  • Thurs. July 12, 1400 1600
  • Monday July 16, 1300 1700
  • Tuesday July 17, 1500 1700
  • Wednesday July 18 0900 1100
Write a Comment
User Comments (0)
About PowerShow.com