Examining the Specification Part 2: Testing fundamentals

Source: Internet
Author: User

Examining the Specification
Part 2: Testing fundamentals
Chapter 4

Highlights
What is black-box and white box testing
How static and dynamic testing differ
What high-level techniques can be used
Reviewing a Product Specification
What specific problems you shoshould look
When reviewing a product specification in
Detail

Getting started
Product Specification
Written document using words and pictures
Describe the intended Product
Calculator example
Reason
Programmer's idea! = User's idea
Thoroughly describe the product in a Specification
Document is testable

Black-box and white box testing
Black-box testing
Tester only knows what the software is
Supposed to do
Doesn' t know how
White-box testing
Access to program's code and can examine
The program
Know how
Risk: tailor tests to match code's operation

Static and Dynamic Testing
Static testing
Testing something that's not running
Examining and reviewing
Dynamic Testing
Normal Testing
Running and using
Car Testing example

Static black-box testing:
Testing the Specification
Static --- document review
Know extraction process?
No
Varieties of specifications
Words
Diagrams
Self-documenting computer language
What if no spec?
Walking, talking
Test "mental" specification

Discovery a high-level review of
Specification
Process of requirements elicitation is
Inexact science and is prone to having
Problems
Research from High Level
Large fundamental problem
Oversights
Omissions

Pretend to be the customer
Research who the customer will be
Who will be using the software?
Understand customer's expectations
Gaining some familiarity with the Field
Tip
Don't forget software security
It must be specified
User will assume that the software is safe

Research existing standards and
Guidelines
Revoke ate terminology and conventions
Industry Requirement
Government standards
Graphical user interface (GUI)
Security Standards
Test instead of making demo-

Review and test similar software
Scale
Fewer or greater features?
Less or more code
Matter in your testing?
Complexity
More or less complex
Will this impact your testing
Testability
Resources, time, and expertise to test?
Quality/reliability
Representative of the overall quality planned for your software?
More or less reliable
Security
Secure?
Advertised and actual
Compare to what you will be offering

Review and test similar software (2)
Tip
Reading online
Collect review and articles about
Competition
Especially helpful for security issues

Low-level specification Test
Techniques
Specification attributes Checklist
Specification terminology Checklist

Specification attributes Checklist
Complete
Accurate
Precise, unambiguous, and clear
Consistent
Relevant
Feasible
Code-free
Testable

Specification terminology Checklist
List of problem words
The appearance of these words often signifies
That a feature isn' t yet completely thought out
It likely falls under one of the preceding
Attributes

Specification terminology checklist (2)
Always, every, all, none, never
Certainly, therefore, clearly, obviusly,
Evidently
Some, sometimes, often, usually, ordinarily,
Customarily, most, mostly
Etc., and so forth, and so on, such
Good, fast, cheap, efficient, small, stable
Handled, processed, rejected, skipped,
Eliminated
If... Then... (But Missing else)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.