Full Life Cycle Object Oriented Testing               OOSAD 07
Introduction• Collection of testing techniques to verify and validate  object-oriented software.• Available throughout all...
FLOOT
Testing TechniquesFLOOT Technique          Description                       Testing that verifies the item being tested w...
Contd…Method testing           Testing to verify a method (member function) performs as defined.                         A...
Important Techniques1.   The goal is to find defects.     –   In other words, successful tests find bugs.1.   You can vali...
Comparing the average cost of change of various defect finding techniques.
Upcoming SlideShare
Loading in …5
×

Floot

482 views
294 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
482
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Floot

  1. 1. Full Life Cycle Object Oriented Testing OOSAD 07
  2. 2. Introduction• Collection of testing techniques to verify and validate object-oriented software.• Available throughout all aspects of software development.• The list of techniques is not meant to be complete – instead the goal is to make it explicit that you have a wide range of options available• Although the FLOOT method is presented as a collection of serial phases it does not need to be so: the techniques of FLOOT can be applied with evolutionary/agile processes as well.• You can in fact test throughout all aspects of software development, not just during coding
  3. 3. FLOOT
  4. 4. Testing TechniquesFLOOT Technique Description Testing that verifies the item being tested when given the appropriateBlack-box testing input provides the expected results. Testing of unusual or extreme situations that an item should be able toBoundary-value testing handle. The act of ensuring that a class and its instances (objects) perform asClass testing defined.Class-integration The act of ensuring that the classes, and their instances, form sometesting software perform as defined. A form of technical review in which the deliverable being reviewed isCode review source code.Component testing The act of validating that a component works as defined.Coverage testing The act of ensuring that every line of code is exercised at least once.Design review A technical review in which a design model is inspected.Inheritance-regression The act of running the test cases of the super classes, both direct andtesting indirect, on a given subclass.Integration testing Testing to verify several portions of software work together.
  5. 5. Contd…Method testing Testing to verify a method (member function) performs as defined. An inspection, ranging anywhere from a formal technical review to an informal walkthrough,Model review by others who were not directly involved with the development of the model.Path testing The act of ensuring that all logic paths within your code are exercised at least once. A process by which your users work through a collection of use cases, using a prototype as if itPrototype review was the real system. The main goal is to test whether the design of the prototype meets their needs. The best way to determine if a model actually reflects what is needed, or what should be built,Prove it with code is to actually build software based on that model that show that the model works. The acts of ensuring that previously tested behaviors still work as expected after changes haveRegression testing been made to an application. The act of ensuring that the system performs as expected under high volumes of transactions,Stress testing users, load, and so on. A quality assurance technique in which the design of your application is examined critically by a group of your peers. A review typically focuses on accuracy, quality, usability, andTechnical review completeness. This process is often referred to as a walkthrough, an inspection, or a peer review. A testing technique in which one or more person(s) validate a model by acting through theUsage scenario testing logic of usage scenarios. The testing of the user interface (UI) to ensure that it follows accepted UI standards and meetsUser interface testing the requirements defined for it. Often referred to as graphical user interface (GUI) testing. Testing to verify that specific lines of code work as defined. Also referred to as clear-boxWhite-box testing testing.
  6. 6. Important Techniques1. The goal is to find defects. – In other words, successful tests find bugs.1. You can validate all artifacts. – fix defects long before they get into your code.1. Test often and early. – The goal is to reduce the feedback cycle as much as possible.1. Testing builds confidence. – Many people fear making a change to their code because they’re afraid that they’ll break it, but with a full test suite in place if you do break something you know you’ll detect it and then fix it.1. Test to the risk of the artifact. The riskier something is, the more it needs to be reviewed and tested. – air traffic control system Vs “Hello World” application.1. One test is worth a thousand opinions. – You can tell me that your application works, but until you show me the test results, I will not believe you.
  7. 7. Comparing the average cost of change of various defect finding techniques.

×