Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Basic unit test of software testing

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

I. theoretical questions

1. Draw the V model diagram of software test.

Requirements analysis-outline design-detailed design-software coding-unit testing-integration testing-system testing-acceptance testing

2. Write a comprehensive strategy for the selection of methods for writing test cases.

3. What are black box testing and white box testing

Black box test

Regarding the test object as a black box, the tester does not consider the internal logical structure and internal characteristics of the program at all, but only according to the requirement specification of the program to check whether the function of the program conforms to its functional description. Check whether the non-functional line requirements meet the design requirements.

White-box testing

The test object is regarded as a transparent box, which allows testers to use the logical structure and related information within the program to design or select test cases to test all the logical paths of the program.

Check the state of the program at different points to determine whether the actual state is consistent with the expected state. Therefore, white-box testing is also called structural testing or logic-driven testing.

4. What is static test, smoke test, alaha test, beta test

Static test:

Static method means to check the correctness of the program only by analyzing or checking the syntax, structure, process and interface of the source program without running the program under test. Do structural analysis, flow chart analysis and symbol execution to find errors in requirements specification, software design specification, source program. The static method finds out the deficiencies and suspicions through the analysis of the static characteristics of the program, such as mismatched parameters, inappropriate loop nesting and branch nesting, disallowed recursion, unused variables, null pointer references and suspicious calculations. Static test results can be used for further error checking and provide guidance for test case selection.

Smoke test:

5. What are effective equivalence classes and invalid equivalence classes

Valid equivalence class:

A reasonable set of input data that is meaningful to the program specification. The program receives valid equivalence class data and can perform the calculation correctly.

Invalid equivalence class:

A collection of input data that is meaningless and unreasonable to the program specification. The program receives invalid equivalence class data and should give an error prompt or not allow the user to enter it at all.

6. What are basic streams and alternative streams

Basic flow: the easiest path through a use case

Alternative stream: executed under certain conditions

7. The difference between retest and regression test

Second, use columns to design questions

1. Use the scenario method to write test cases

2. Use the orthogonal arrangement method to analyze the program, write the final orthogonal table and write the test case.

To test the installation process of a game software, the following factors need to be considered:

a. Operating systems: winxp, win2003, win2008, win7, win8

b. Antivirus software: rising, Kaspersky, Norton, Jiangmin, 360 antivirus

c. Database: oracle10g, SQLServer2008, Mysql

d. Office software: MS-office, OPenoffice, WPS

e. Browsers: IE, Firefox, safari, Sogou browser

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report