Understanding and practical exercise on several test types in project development

xiaoxiao2021-03-06  21

original:

Test is usually tested after the system is completed, but today, he often hears senior developers to persuade new people: "Test is the first step in development" how to understand? If it is understood from the mannade of the Japanese invented, it is probably that each link is given to the next level. Some tests do not have much impact on the latter operation, such as the picture is not beautiful, the menu is unreasonable, the layout is difficult to see; but others, but directly let the next level can't start working, the use case is unclear; use case contradiction ; Components internal error; frame unreasonable, etc. Of course, the first level will increase the quality to at least one grade; but in each link, it is still the final stage of development. Therefore, it seems that my level is still not home, "The test is the first step of development" is difficult to understand, the only understanding is to standardize the first, document first, and the document standardization should always be before code, this is the main content of QA; Probably this is how much is explained. In this way, the test and standardization of the two things are coincident. From the strict perspective, the test is the test, the standard origin is standardized, or the test after the module (project) is started; so all about programming and documentation, design specifications I am not included in the test discussion. Or, we focus on QC, rather than focusing on the standard QA, although it is also very important.

Unit test: is a test for module components or methods. In my own operation, it is generally a test within the development of the developer; in the case of a component interface specification, it is generally necessary to do a test tool to simulate calling environment, write test instances, monitor the actual work of the module through breakpoint situation. A single function module quality developed in this way is very high. But if there is no unified module specification, the workload of development and testing is close to one more; but if the module is developed according to the unified standard, then the same set of test suite can use each module, thereby saving test time . I believe that this is a test within the working scope of the development department. It is not a big relationship with the QA / QC department. In fact, the use case in this level is not Qc can do and understand.

White box test: In the case of understanding internal processes, design test instances for logic flow, the purpose is to find extreme edges and intrinsic logic errors. The proportion of white box test in unit test is high, and it is not difficult to understand. Who else is more understanding of the construction process of the module than the author?).

Black box test: This is the main job of the QC department. The black box test is mainly to write test instances. However, in practice, it is a test of members of the least technology, and the highest technical level will use VSS, so don't count on what test instances. The so-called black box test is often facing the menu button, this presses, oh, there is something coming out, right, hook - in fact, then the example is one by one and then look at the output, And it is limited to the interface, the inherent partial and the edge of the edge do not need to be expected. According to the authors, in the foreign software company of CMM reaches more than four software companies, the black box test is the most important way for software evaluation, through the right test example, in addition to the most common availability test, including pressure testing, and strange Monkey Test.

Pressure Test: Evaluating the pressure of a system limit can be affected, while the response after overload; at the same time, in the limits, some of the Usually do not appear, the bug will emerge. Therefore, this test author believes that it should not be carried out separately by the QC department, but should be carried out by the development department with the QC department. The ideal system does not respond in the limit test condition, nor is it a machine, and can return to normal operation within a period of time after the load is restored. At this time, one of the reasons why the WINDOWS is over: Once the website exceeds 100-200 concurrent, Windows is not only strike; she has to restart the system (of course, Windows can die any hard restart can die, most In the case, it is also a difficult advantage of it. The decline curve is not too obvious after the load is exceeded - but this is not absolute, the author finds that once Linux enters memory shake in the limit state. Dead and Windows Dodes are not much; so the memory is not exhausted is an important factor in Linux reliability exceeding Windows. Regression test; what is the problem with other modules after modifying one of the modules. The author believes that this test is the concept product of the procedural process. The degree of mutual coupling in modular software is low, and it is true that the unified mobilization agreement is really a matter of home, and others (modules) are not more than half.

Overall test: After connecting different modules, look at the joint working situation. This is actually a test of the interface protocol. The author believes that it can work as part of the interface interactive part, no need to put it as one of the flow. Similarly, there are system tests, anything about running throughout the system. It seems to be big, but if you have already done it in front, if you have problems!

Alpha Test: Testing of the internal member Huzu fell;

BETA test: Let the bad guys in the world are not tested.

After this level, it is probably it? ? Software companies in Europe, USA, is probably possible. But in China, you may not see, many of the business needs persons will come out: "It's not this!" When you have long, he won't know there! " Or "What is the other function?", He was probably heavily sleeping early. Everything in front of everyone, I will have a full waste of these two sentences. All things have to come back from a part of the middle, which is called the dream. At this time, it is better to find out the contract with his old brother, not as good as the contract is found.

转载请注明原文地址:https://www.9cbs.com/read-40550.html

New Post(0)