Go into details. Functional test

Foreword:

Functional testing (Functional Testing) is to verify whether the product's functional realization meets the product's requirements specifications based on the product requirements specifications and test requirements list. It is the most basic test in the process of system testing, and does not pay attention to the internal implementation logic of the software. Today, Yifei will have a good chat with you about functional testing.

text:

The purpose of functional testing is as follows:

1. Whether there are incorrect or missing functions.

2. Whether the function realization meets the user's needs and the hidden needs of the system design.

3. Can the input be accepted correctly? Can the result be output correctly.

4. Verify that the business process is correct and reasonable.

The above four goals are not easy to achieve in the testing process.

First of all, the first goal should be relatively easy to achieve, and the test engineer only needs to verify it according to the requirements specification.

Then, the second purpose is to verify whether the user's needs are correctly implemented, but the user's needs are not just those explicit needs, but also some potential and hidden needs. The difficulty of testing happens to be these hidden needs. The best way to solve the hidden needs of customers is to unearth the hidden needs of customers as much as possible when creating requirements specifications, but in reality not all hidden needs can be unearthed. At this time, software testing engineers must be very familiar with the business, otherwise it will be difficult to find these potential requirements during the testing process.

Once again, the third purpose is to verify the correctness of the input and output of the system. It should be noted that the correct acceptance of input mentioned here not only refers to valid data, but also includes invalid data input, that is, the system must not only be able to process In the case of valid data input, it should also be able to handle invalid data input. This shows that these two aspects of data input must be considered when designing test cases, and it is precisely the input of invalid data that easily causes problems during the test process.

Finally, the fourth purpose is a difficult point in the test process, because this business process will not be clearly defined in the requirements specification. The test is performed entirely based on the industry experience of the test engineer, but if the test engineer only depends on the industry experience to perform the test In the case of testing, it is difficult to guarantee the quality of the product. Therefore, the tests for this aspect are more done through Alpha testing or Beta testing. The similarities and differences between Alpha testing and Beta testing are shown in Table 11-1.

Usually a good function must include the following sub-features:

1. Suitability. Suitability refers to whether the functions provided by the system are easy to use and suitable for customers. The suitability will affect the ease of use of the system.

2. Accuracy. Accuracy means that the system can accurately respond to customer requests.

3. Interoperability. Interoperability includes two aspects: one is human-computer interaction, that is, the interoperability between the client and the system; the other is the interoperability between the tested system and other software and systems, also called compatibility , Compatibility testing will be introduced in detail in subsequent chapters.

4. Security. Security refers to the ability of the system to protect information and data. Security testing will be introduced in detail in subsequent chapters.

Written at the end:

Instead of worrying about the future, it is better to work hard now. On this road, only struggle can give you a sense of security. Don't easily pin your dreams on someone, and don't care too much about the whispers around you, because the future is your own, and only you can give yourself the greatest sense of security.

What we hold in our hands may be the seeds of failure or the infinite potential for success. The answer needs to be our own choice: going with the waves will accomplish nothing, and if we go all out, we will have a bright future. Let moments create miracles, success starts from cherishing time!

Guess you like

Origin blog.51cto.com/15086761/2640917