1 / 13

Course Notes : Examining the Specification

Course Notes : Examining the Specification. Computer Science and Software Engineering Auburn University. Specification. Requirements document – what the software will become Can be of many formats and detail levels - programming project/problem assignments

taite
Download Presentation

Course Notes : Examining the Specification

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Course Notes:Examining the Specification Computer Science and Software Engineering Auburn University

  2. Specification • Requirements document – what the software will become • Can be of many formats and detail levels - programming project/problem assignments - quality measurement is based on this • Specification is testable; can be used to find bugs before software is developed [Software Testing, by Ron Patton, Sams Pub. 2001]

  3. Testing Fundamentals • Black box testing – what is supposed to be done  functionality - does not concern how the software accomplish the work - outside view of the software - input-output relationships

  4. Testing Fundamentals (cont’) • White (clear) box testing – how the software does its job - look into code details • Static Testing – testing a software without running it - examination - review

  5. Testing Fundamentals (cont’) • Dynamic Testing – running the program • Testing specification - static black box testing - specification is not a program  static - goal: to find bugs early

  6. High Level Review of Specification • First Step: Stand back and view it from high level • Better understanding of the Spec – why and how

  7. High Level Review of Specification (Cont’) • Pretend to be the customer - find out who they are, e.g. research & interview - gain familiarity of the application field - customer expectations, quality is measured in terms of these expectations - try to understand the spec

  8. High Level Review of Specification (Cont’) • Research existing standards and guidelines - why standards and guidelines? . terminology and conventions . Industrial/government requirements . Hardware/software interfaces - make sure correct standards & guidelines are used or applied

  9. High Level Review of Specification (Cont’) • Review and test similar software - similar systems of feel and look  efficiency - competitors’ products - issues to review . Scale: bigger, smaller, similar, etc. . Complexity . Testability: can you test such software . Quality/reliability - use the software

  10. Low Level Specification Test • Specification Attribute Checklist - A good, well-thought-out specification: . Complete . Accurate . Precise, unambiguous, and clear . Consistent . Relevant . Feasible . Code-free: what, but not how . Testable

  11. Low Level Specification Test (Cont’) • Specification terminology checklist - avoid problem words . Always, every, all, none, never: absolute . Certainly, therefore, clearly, obviously, … . Sometimes, often, usually, … . Etc., and-so-on, and-so-forth: no way to test . Good, fast, cheap, efficient, … : not quantified . Handled, processed, rejected: task not clear . If … then … (forget else)

  12. Is Specification Testable? • Yes! • Sample usage scenarios - For example, the user will … - All aspects of the scenarios must be covered.

  13. Examining Specification Summary • Subjective process - not a step by step process • Higher level review - to flush out oversights and omissions • Low level techniques - to assure all details are defined

More Related