Software Testing - Philadelphia University

Software Testing - Philadelphia University

Software Testing Those slides are taken from : http://www.ecs.csun.edu/~rlingard/COMP595VAV/SoftwareTes ting.ppt , extra material is used from http://www.slideshare.net/ketanmehta4u/software-testing-ppt

Edited by: Enas Naffar Observations about Testing Testing is the process of executing a program with the intention of finding errors. Myers

Testing can show the presence of bugs but never their absence. - Dijkstra Good Testing Practices A good test case is one that has a high probability of detecting an undiscovered

defect, not one that shows that the program works correctly It is impossible to test your own program A necessary part of every test case is a description of the expected result Good Testing Practices

(contd) Assign your best people to testing Ensure that testability is a key objective in your software design Never alter the program to make testing easier

Testing, like almost every other activity, must start with objectives Acceptance Testing Customers are present or directly involved.

Usually the tests are developed by the customer Test Methods White box or glass box testing Black box testing

White box testing example Generate test data for the following program: Read P Read Q IF P+Q > 100

Print Large ELSE If P > 50 Print P Large ENDIF ENDIF

Test data for Path coverage: Path 1: p = 40, Q= 70 Path 2: p= 60, Q= 10 Path 3 : p= 40, Q=10

Recently Viewed Presentations

  • Normal And Abnormal Cardiac Muscle Metabolism CVS/BIOCHEMISTRY DR.

    Normal And Abnormal Cardiac Muscle Metabolism CVS/BIOCHEMISTRY DR.

    Energy metabolism during ischemia. 1. Accelerated glycolysis, lactate production and a fall in PH. The primary result of ischemia is . mitochondrial metabolic dysfunction decrease in ATP formation by oxidative phosphorylation stimulates glycolysis, increase in myocardial glucose uptake and glycogen...
  • Tides - PC\|MAC

    Tides - PC\|MAC

    What Causes Tides? Tides- The daily rise and fall of Earth's waters on its coastlines. High tide- as tide comes in, water level increases gradually and reaches its highest point. Low tide- tides goes out, flowing back toward the sea...
  • INTD 50A architectural detail roof typesgable  roof typesgambrel

    INTD 50A architectural detail roof typesgable roof typesgambrel

    INTD 50A architectural detail roof types—gable roof types—gambrel roof types—hip roof types—flat roof types—mansard roof types—salt box door types door types door types window types window types window types window types terminology acanthus— large leaf conventionalized by the greeks for...
  • Phổ Raman tăng cường bề mặt - mientayvn.com

    Phổ Raman tăng cường bề mặt - mientayvn.com

    Nguyên lý Phương pháp SERS ( Surface Enhanced Raman Spectroscopy) tăng cường độ vạch Raman bằng plasmon bề mặt tương tác của sóng và plasma electron Nguyên lý sóng điện từ có thể thâm nhập vào môi trường (gần bề...
  • El Cid Rodrigo Diaz de Vivar En el

    El Cid Rodrigo Diaz de Vivar En el

    Antecedentes al Poema de mio Cid. Entre los años 1063 a 1072 fue el brazo derecho de don Sancho y guerreó junto a él en Zaragoza, Coimbra, y Zamora, época en la cual fue armado primeramente caballero y también nombrado...
  • Water Quality Standards Human Health Criteria Technical Workgroup

    Water Quality Standards Human Health Criteria Technical Workgroup

    RfD: An estimate, with uncertainty spanning perhaps an order of magnitude, of a daily oral exposure to the human population (including sensitive subgroups) that is likely to be without an appreciable risk of deleterious effects during a lifetime. EPA's policy-...
  • Top 10 Tools for Teaching Science - Montgomery County Schools

    Top 10 Tools for Teaching Science - Montgomery County Schools

    Slap. Hot potato. Connect Four. Battleship. Pong. Beach ball. Oh Deer!! Hunting Minibeasts. Acorns!! The Game of Life: Stem Cells. Music as a Teaching Tool. Music is known to affect our feelings and energy . levels. It can prompt memories,...
  • Chapter 32 The Politics of Boom and Bust,

    Chapter 32 The Politics of Boom and Bust,

    Chapter 32 The Politics of Boom and Bust, 1920-1932 Figure 32.1 Limits Imposed by Washington Conference, 1921-1922 The pledge of the British and Americans to refrain from fortifying their Far Eastern possessions, while Japan was allowed to fortify its possessions,...