Download presentation
Presentation is loading. Please wait.
Published byJudith Futrell Modified over 10 years ago
1
Kai H. Chang COMP 6710 Course NotesSlide ES- 1 Auburn University Computer Science and Software Engineering Course Notes : Examining the Specification Computer Science and Software Engineering Auburn University
2
Kai H. Chang COMP 6710 Course NotesSlide ES- 2 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 3 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 4 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 5 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 6 Auburn University Computer Science and Software Engineering High Level Review of Specification First Step: Stand back and view it from high level Better understanding of the Spec – why and how
7
Kai H. Chang COMP 6710 Course NotesSlide ES- 7 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 8 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 9 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 10 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 11 Auburn University Computer Science and Software Engineering 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
Kai H. Chang COMP 6710 Course NotesSlide ES- 12 Auburn University Computer Science and Software Engineering Is Specification Testable? Yes! Sample usage scenarios - For example, the user will … - All aspects of the scenarios must be covered.
13
Kai H. Chang COMP 6710 Course NotesSlide ES- 13 Auburn University Computer Science and Software Engineering 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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.