Preview

Testing

Good Essays
Open Document
Open Document
1864 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Testing
Test case design techniques II: Blackbox testing

CISS

Overview
• Black-box testing (or functional testing):
• Equivalence partitioning • Boundary value analysis • Cause-effect graphing • Behavioural testing • Random testing • Error guessing etc… Domain analysis

• How to use black-box and white-box testing in combination • Basics : heuristics and experience

CISS

Black box testing requirements output

input events

SUT y domain testing

x CISS

Black-box: Three major approaches
• Analysis of the input/output domain of the program: • Analysis of the observable black-box behaviour: • Heuristics
‘interesting’ subsets

• Leads to a logical partitioning of the input/output domain into • Leads to a flow-graph-like model, which enables application of techniques from the white-box world (on the black-box model)

• Techniques like risk analysis, random input, stress testing

CISS

Types of Testing

CISS

V - Model acceptance test spec

requirements

acceptance test

system test spec

specification

system test

architecture spec

integration test spec

integration test

module test spec

detailed design unit test spec

module test

implementation code

unit-test

CISS

Black-box : Equivalence Partitioning
• Divide all possible inputs into classes (partitions) such that
• There is a finite number of input equivalence classes • You may reasonably assume that
• the program behaves analogously for inputs in the same class • a test with a representative value from a class is sufficient • if representative detects fault then other class members will detect the same fault

CISS

Black-box : Equivalence Partitioning
Strategy :

• Identify input equivalence classes
• Based on conditions on inputs / outputs in specification / description • Both valid and invalid input equivalence classes • Based on heuristics and experience
• “input x in [1..10]” • “enumeration A, B, C • ……..

→ →

classes : x < 1, 1 ≤ x ≤ 10, x > 10 classes : A, B, C, not{A,B,C,}



Define one / couple of

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Psy/315 Case 8.4

    • 127 Words
    • 1 Page

    System is working correctly all modules are tested and producing results as per our expectation.…

    • 127 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Homework Unit 3

    • 354 Words
    • 2 Pages

    3. Multiple alternative decision structure- Tests the value of a variable to determine which statements to execute.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The purpose of this Lab. is to familiarize student how to solve practical problems programmatically; they will practice on elementary programming using primitive data types, variables, constants, operators, expressions, and input and output. Also, they will learn how to diagnose errors that may occur when a program is compiled or executed. There are some exercises, through which they will understand the concept learn in this chapter.…

    • 2338 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    Generating minimal test cases for effective program test is a tool for generating test cases for a ‘c’ program. The main purpose of this tool is to automatically generate the minimum number of test cases for a given program to perform effective test on it. This document describes the software requirements for Test Case Generation tool.…

    • 1533 Words
    • 7 Pages
    Good Essays
  • Better Essays

    Shelly, G. B., & Rosenblatt, H. J. (2010). _Systems analysis and design_. Boston, MA: Course Technology.…

    • 869 Words
    • 4 Pages
    Better Essays
  • Powerful Essays

    Mat 540 Week 4 Paper

    • 1775 Words
    • 8 Pages

    * Provide a set of values that will test the normal operation of this program segment. Defend your choices.…

    • 1775 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Test

    • 846 Words
    • 4 Pages

    b- All of the plasma proteins are too large to fit through the filtration slits…

    • 846 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Raptor software will be used in designing and testing this program. The three fundamental tasks of creating a program will be incorporated:…

    • 761 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    This ensures that the tests proscribed are sufficient to authenticate the functionality of the software ensuring it meets the design specifications and ensures the data sources are available and fulfill the needs of the software. Additionally this testing will include reviewing installation and operational testing documentation to ensure that it clearly describes what methods will be used to test the installation of the software as well as the operation of the software. Testing documentation should be kept clear and be complete enough to verify the system is working properly but not so overly complete as to utilize time and resources on over testing…

    • 2834 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    Final

    • 6639 Words
    • 27 Pages

    George, J. F., Hoffer, J. A., & Valacich, J. S. (2009). Essentials of System Analysis and Design…

    • 6639 Words
    • 27 Pages
    Powerful Essays
  • Good Essays

    Unit 5 PT1420

    • 959 Words
    • 7 Pages

    2. You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to execute a different set of statements. What structure will you use?…

    • 959 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    This Is a Paper

    • 469 Words
    • 2 Pages

    Provide a set of values that will test the normal operation of this program segment. Defend your choices.…

    • 469 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Testing

    • 471 Words
    • 2 Pages

    This course provides a systematic treatment of the fundamentals of the theory and practice of Finance. The course will consist of lectures, case studies, and reviews of homework. It is designed to provide students with a broad, systematic view of finance in the corporate context. By the end of the class, successful students will be able to analyze firm performance, value financial assets, determine the cost of capital, evaluate capital structure and dividend policies, and know the basics of raising capital in order to make informed investment and financing decisions. Topic areas will include financial performance measurement, valuation, capital budgeting, capital market theory, basics of investments, cost of capital, raising capital, and capital structure and dividends.…

    • 471 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    testing

    • 1193 Words
    • 11 Pages

    Along with their daily workload, interns will also meet as a group to participate in weekend…

    • 1193 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    This book is available at the bookstore and online book stores, where you may be able to find it as a used book. We use this text extensively throughout the course, including for all Unit Tests. The textbook is mandatory. You must use the 2nd edition of this book; you may be able to find it used.…

    • 3914 Words
    • 13 Pages
    Powerful Essays

Related Topics