2 the basic theory of software testing

Software Testing Stages

  • Unit Testing
    Unit testing is also called module testing, it is for the smallest unit of software design - check the correctness of a program module testing

  • Integration testing
    integration testing, also known as assembly and testing. Typically the base unit testing, all of the program modules orderly, incremental test.

  • System Testing
    System testing is under real or simulated operating system environment, the system can check the complete program and systems (including hardware, peripherals, networking and system software support platform is properly configured, connected, and meet customer needs.

  • Acceptance tests
    in accordance with the project or contract, testing and evaluation of the entire system of supply and demand sides agreed basis for acceptance of documents, decide whether to accept or reject the system

    • Alpha Test (α test)
      mainly refers to after the completion of software development, in the context of software development, software developer to submit a comprehensive self-examination and verification, and software can "test system," be carried out.

    • Beta test (β test)

      In the user's application environment, the user through the operation and use of software, testing and verification software meets their expectations requirements.

Software Testing Model

V model

W model

According to test technology division

  • Black box testing

    The black box test method the test object as a black box, does not consider internal structure and processing procedure to find defects and errors in the performance of external software.

  • White-box testing

    White-box testing can be installed as a program in a transparent white box, which is a clear understanding of the program structure and processes to check whether all the structures and paths are correct, check the internal operation of any software in accordance with the design specifications of get on.

  • Gray box testing

    Interposed between the white box and black box testing.

By the need to run the code division

  • Static Testing

    Static testing is not practical to run the software under test, but only statically checking program code, there may be errors in the interface process or document.

  • dynamics test

    Dynamic testing is to check manually or using a tool to run the program, the external representation of the execution state and program analysis program

Classification by Software Features

  • function test

    The product features, operations, and user description scheme, a product test behavior characteristics and is operable to determine whether they meet the design requirements.

  • Performance Testing

    Evaluation of a product or component testing and performance requirements of compliance. Including load testing, stress testing, testing database capacity.

Back test : Test for programmers to modify the error, verify that no errors were modified

Regression Testing : Regression testing is testing a new version of the software, the repeated use case execution time on a test version

Smoke testing : testing is smoke before a new version of the system large-scale testing, first verify whether the basic functions of the software implementation, whether they have testability

Random testing : testing a random test is also called monkeys, refers to all the test data are input into randomly generated, the purpose of the real operation of the analog user operation input to the system at random

Guess you like

Origin www.cnblogs.com/shibojie/p/10958987.html