Preview

SoftwareTesting

Powerful Essays
Open Document
Open Document
1727 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
SoftwareTesting
Software Testing

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
(cont’d)
 Avoid nonreproducible or on-the-fly testing
 Write test cases for valid as well as invalid

input conditions.
 Thoroughly inspect the results of each test
 As the number of detected defects in a piece of software increases, the probability of the existence of more undetected defects also increases

Good Testing Practices
(cont’d)
 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

Levels of Testing
 Unit Testing
 Integration Testing
 Validation Testing




Regression Testing
Alpha Testing
Beta Testing

 Acceptance Testing

Unit Testing
 Algorithms and logic
 Data structures (global and local)
 Interfaces
 Independent paths
 Boundary conditions
 Error handling

Why Integration Testing Is
Necessary
 One module can have an adverse effect

on another
 Subfunctions, when combined, may not produce the desired major function
 Individually acceptable imprecision in calculations may be magnified to unacceptable levels

Why Integration Testing Is
Necessary (cont’d)
 Interfacing errors not detected in unit

testing may appear
 Timing problems (in real-time systems) are not detectable by unit testing
 Resource contention problems are not detectable by unit testing

Top-Down Integration
1.

2.

The main control module is used as a
driver,

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

    The next two faults categories, excluding the OMISSION faults, emulate specific programming errors common to kernel code according to earlier studies [Sullivan and Chillarege, 1991; Christmansson and Chillarege, 1996].…

    • 285 Words
    • 2 Pages
    Satisfactory Essays
  • Best Essays

    G. D. Everett and R. McLeod, Jr.(2007) Software Testing: Testing Across the Entire Software Development Life Cycle…

    • 3816 Words
    • 16 Pages
    Best Essays
  • Good Essays

    There will be an offline of White Box Testing technique and Test Case Generation manual, and floating tooltips will be employed in the application.…

    • 1533 Words
    • 7 Pages
    Good Essays
  • Better Essays

    References: Ambler, S.W. & Constantine, L.L. (2000). The Unified Process Construction Phase: Best Iterative and Incremental Development Testing: Practices for Completing the Unified Process. USA: Focal Press.…

    • 1550 Words
    • 7 Pages
    Better Essays
  • Satisfactory Essays

    Test of consistency, test of correspondence, test of priority of data, test of cohesiveness, test of thoroughness.…

    • 806 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    In “The Train from Rhodesia”, we see that the rich white man took advantage of the poor black man by cheating him out of his money. This shows that some white people may feel superior to the black people. In “poison” it demonstrates that because Harry was white, he didn't feel that he should be questioned by a black doctor.…

    • 341 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Coupling metrics: It provides an indication of the "connectedness" of a module to other modules…

    • 431 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Max is a 7 year old third grader at South Park Elementary School in Wethersfield, CT. According to Max’s teachers, his current DRA level is 20, which is approximately one year below his current grade placement. Benchmark level entering grade 3 is level 28. Max was referred for tutoring by his classroom teacher and the reading specialist because he is functioning approximately a year below his current grade placement in reading.…

    • 152 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Software Engineering

    • 985 Words
    • 4 Pages

    I have many goals in mind for my life. I want to graduate university, possibly go to graduate school, and obtain a career in which I am happy and satisfied. Yes, I know this sounds very cliché as many people want to obtain this kind of life. I don’t mind obtaining a “normal” happy life as long as I am happy with it. I am familiar with Maslow’s Hierarchy of Needs and I want to make sure I fulfill my lower needs before I start trying to achieve my goals. I have never actually applied the GIOADA process to my decision making in the past. After reading the document that describes the GIOADA process, I will start applying this process to future decisions I make in life. Also, as I look back at some of the big decisions I made previously, I wish I applied the GIOADA process in making these decisions. That would have allowed me to more strongly analyze all the processes of the decision making.…

    • 985 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Penetration Testing

    • 3406 Words
    • 14 Pages

    Penetration testing has been well popularized by the media. Many companies are now offering penetration services to identify vulnerabilities in systems and the surrounding processes. This report will Discuss "Penetration Testing" as a means of strengthening a corporate network's security. This report is divided into three parts. Introduction will give you a brief and basic overview of Penetration Testing and why we need Penetration Testing, The second part is the technical breakdown explains The strategy, model and type of Penetration Testing. In the conclusion, we will discuss both the value and limitation of Penetration Testing.…

    • 3406 Words
    • 14 Pages
    Powerful Essays
  • Powerful Essays

    Usability Testing

    • 2651 Words
    • 17 Pages

     Lack of visibility of links at the footer of the home page (“library room…

    • 2651 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    Functionality test- My pre loader is at the start of my animation. A pre-loader is an indicator that informs the viewer that content is being loaded.…

    • 853 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    As computers and software are used in critical applications,the outcome of a bug can be severe.Bugs can cause huge losses.Bugs in critical system have caused airplane crashes,allowed space ssuttle missions to do awry,halted trading on the stock market,and worse.Bugs can kill.Bugs can cause disasters.The so-called year 2000 (Y2K) bug has given birth to a cottage industry of consultants and programming tolls dedicated to make sure the modern world doesn’t come to a screeching halt on thefirst da of the next century.[Bugs]In a computerized embedded world,the quality and realibility of software is a matter of life and death.…

    • 7366 Words
    • 29 Pages
    Powerful Essays
  • Satisfactory Essays

    There are two things that need to be said about Test Driven Development (TDD). It is a good thing (especially from a tester’s…

    • 482 Words
    • 2 Pages
    Satisfactory Essays

Related Topics