What is software testing? Check it out for beginners!

1. What is software testing:

Two bases (requirements, test cases), two methods (manual, automatic), one comparison (comparison of expected results and actual results)

2. The purpose and significance of software testing: (how to do a good job in software testing)

Initial stage: find as many defects as possible and generate related specifications

Mid-term: find defects as early as possible

Later: Try to prevent problems: through the accumulation of past experience

Control costs (throughout) Find more defects with as little time and manpower as possible

3. Software life cycle:

Waterfall model:

 

Test intervention point: after coding is complete

Test scope: the whole product

The waterfall model has the following advantages


(1) Provides checkpoints divided by phases for the project.

(2) After the previous stage is completed, you only need to focus on the subsequent stage.

(3) The waterfall model can be applied in the iterative model.

Incremental iterations are applied to the waterfall model. Iteration 1 solves the largest problem. Each iteration produces a working version while adding more functionality. Each iteration must undergo quality and integration testing.

(4) It provides a template that enables analysis, design, coding, testing, and support methods to have a common guidance under the template.

The waterfall model has the following disadvantages

(1) The division of each stage is completely fixed, and a large number of documents are generated between stages, which greatly increases the workload.

(2) Since the development model is linear, users can only see the development results until the end of the whole process, which increases the development risk.

(3) Tracking various project phases with too many mandatory completion dates and milestones.

(4) The outstanding disadvantage of the waterfall model is that it does not adapt to changes in user needs.

Spiral model:

Dachang Senior Testing Expert Software Testing Full Stack Series

Jmeter advanced performance test practice

Test intervention point: when a function is completed (unit test) when a module is completed (integrated visual test) after the entire system is completed (formal German test)

When user confirmation is required during the development of the system for use by the user (acceptance testing by the user organization) (qualification testing by organization experts)

Test Range:

Unit roll test: code integration model test: function blocks and interface identification between function modules test the combination of each segment function module

Formal trial: the whole product

All-inclusive flow test: users use products between texts

advantage

1. Meticulous

2 early intervention time

3 very good risk control. Fang Dong

4. Control the law and ask for changes

shortcoming:

High cost and high technical ability requirements

Scope of application: major projects involving personal and property safety

RUP (Rational Unified Process), a unified development process model

 

 

Test intervention point: After each stage of coding is completed

Test scope: the scope of work in front of this stage, the scope of work in the previous stage

advantage:

1. Improve test coverage

2. Simplify the test process and reduce the test cost (only test this stage and the previously affected ones)

3. Semi-finished products are submitted at each stage, and the project success rate is high

shortcoming:

1. Repetitive work is significant

2. High technical content

Scope of application: relatively scattered functions

IPD model

 

Test intervention point: after software and hardware development

Test scope: hardware and software

Advantages: All departments participate in the entire project process, and better integrate the opinions of various departments to make decisions

Disadvantages: high cost, difficult management

Scope of application: large-scale, many departments are affected, and multiple departments and software and hardware support are required.

As far as personal value is concerned, one is to give us a career development direction

4. How to find as many defects as possible?

communicate

Communicate with development in the early stage of testing to confirm the focus of the test and confirm the priority of the test

Understanding Developer Technical and Business Background Business Level Technical Level Code Quality People Mobility

after the test

Make statistics on the found bugs to know the high-probability bugs, and focus on testing in new projects

For code code complexity

version management

For the basic test, the basic version should be fully tested

The last version before acceptance must be fully retested

Test Methods

Functional problems of the black-box method cannot guarantee that all code logic is executed to complement black-box testing with white-box testing ideas

Static test method document review code walkthrough

Testing process

The previous stage provides key guidance for the next stage

The user-participated test or the errors and problems reported by the user are the necessary content for the next test or test supplement

Mobile test series of software testing

Dachang Senior Testing Expert Software Testing Full Stack Series

Jmeter advanced performance test practice

Guess you like

Origin blog.csdn.net/m0_37449634/article/details/131578643