Software engineering - written test

Programming

1. programming language into assembly language and high-level language into two categories, high-level language of choice

2. Select the language for the principle: the principle of minimal effort

                                    The principle of minimum skills

                                    Minimum error principle

                                    Minimum maintenance principles

                                    The principle of reducing memory

3. coding principles: the first find the correct done quickly

                     After first seeking clear done quickly

                     Do not forget to keep correct procedures done quickly

                     In order to maintain the fast clean program

                     Do not sacrifice clarity due to efficiency

4. Good standard procedures: easy to test and debug

                            Easy to maintain

                            Easy to modify

                            Simple design

                            high efficiency

5. Structured programming includes two aspects: When programming, emphasizing the use of several basic control structures, program design process, as far as possible and the top-down principle of stepwise refinement from coarse to fine, a step expand.

6. The main principles of structured programming: the language used in sequence, selection, and other limited repeating structure represented by the basic control program logic

                                                  Allow only selected control structure has an inlet and an outlet

                                                  Complex structure should be combined with a nested structure to achieve the basic control

software test

1. The purpose of software testing: testing is the execution of the program, aims to discover errors, a good test is to find errors so far not found a successful test is found wrong so far found no test.

2. The principles of software testing: Should be "as soon as possible and continue to carry out software testing," the motto as a software developer.

                                The two parts should test the test data input and output corresponding to the expected composition of

                                Programmers should avoid checking their own procedures

                                When designing test cases, input conditions shall include reasonable and unreasonable input conditions.

3. The test information flow diagram below:

The two commonly used test methods: black box testing and white box.

Black box testing is to test the object as a black box function to check the program meets its functional description.

White box test is the object as a transparent box, all logical paths for testing procedures.

Published 39 original articles · won praise 3 · Views 4249

Guess you like

Origin blog.csdn.net/destinyzjy/article/details/104028668