You know Software Testing psychology it?

I'm going to focus on coupons 591q.cn

1, the process of destructive testing procedures 

  Human activities have a high degree of purpose, the establishment of appropriate targets have important psychological role. If our aim is to prove that the program is not wrong, then we will not do it consciously in this direction; that is, we tend to choose those less likely to make it fail the test data. On the other hand, if our goal is to prove that the program is wrong, it will choose some easy-to-find bugs contained in the test data. The latter than the former approach will add more value to the program.

  During the testing process definition implies program testing is destructive, even to the extent intolerable. Most people on society's outlook on life is constructive rather than destructive. People tend to create an item, instead of easily destroyed - one item. Therefore, the program bad - of items. Therefore, the definition of a destructive test program testing program so that people daunting. Program test definition also implies how to design test cases (test data too), as well as who should and who should not test a given program point of view and so on. Psychological research also tells us that when the people doing inappropriate or impossible to do an already know, often doing a good job. For example: If a person in 15 minutes a solution published on the cross, saying, "The New York Times' crossword puzzle in the week, after 10 minutes we will see that this man almost no progress, because he would have been virtually impossible to do to give up their own efforts. However, if we are required to spend four hours to work out this problem, then maybe he will see greater progress in the beginning of the 10 minutes. The test procedure is defined as a process to identify errors in the program, it became the test tasks can be done to overcome the problems of a psychological problem.

  Another annoying problem is that even if the program is expected to complete the requirements, may still contain errors. That is, if the program does not work as required, it is clearly wrong, but if the program did not do it, it is also wrong.

2. Programmers should avoid testing their own procedures

  Developers are designated to test their code is a very bad thing. Development and testing born different activities. Development is to create or establish what behavior of a module or the entire system. The only purpose of the test is to prove that a module or system is not working properly. It has a contradiction between the nature of these two activities. A person is unlikely to put two diametrically opposed corners ** played very well. Based on this idea, it should be limited to developers involved in the test. Give them a more appropriate task is likely the lowest level of testing - unit testing. When a different programmer to complete the design, the preparation of constructive work program, to suddenly overnight change his point of view, to try to form a program entirely negative attitude, it is very difficult. Many heads of households are aware, torn wallpaper (destructive process> is not easy, if the wallpaper was originally labeled by him and not someone else, he would feel almost unbearable frustration level. Therefore, most programmers Because not make yourself into the necessary state of mind (not holding their own procedures to reveal wrong attitude), and therefore can not effectively test their program in addition to the psychological issues, there is another important issue: the program programmers may contain errors due to misunderstanding of the problem of narrative or description arising. If this is the case, when the programmer to test their programs, often will cause problems with the same misconception difficult to find.

  In addition, the test can be seen as is a paper or - book proofing, or similar work and write a review phase. As many of the authors' knowledge, or criticism proofread your own work is very difficult. In other words, in their own work to find defects tend to be people's mental state will not be tolerated.

  The above views does not mean that programmers can not test their own procedures. In contrast, however, if by another - for a program to test some people, it will be more effective and more successful. Note: This statement does not apply to error correction (correct known errors), the original author of the program is certainly more efficient error correction. 

3, Cheng library design agency should test their programs

  In many sense, a project or a programming mechanism is a living organism, it also has a psychological problem. Moreover, in most cases, people are all within a given date, to certain programming ability to measure the cost of programming and project management agency personnel. One reason for this is the time to do Cheung and cost indicators easy to measure, and the reliability of the program is difficult to measure. To support the program design agency in testing their own procedures objectivity is difficult to treat because if the test using the correct definition, are less likely to complete as scheduled test is unlikely to spend the price limit within the required range.

  The most important factor of three software production are: quality, schedule and cost.

  Advances in computing technology, means that in the economic sphere information system updates faster. The development of new hardware technologies, both software will become obsolete, system delivery time is becoming increasingly important, new products on their performance and costs is time to replace the previous sell other products that the market window has been reduced.

  Due to cost and schedule limitations, to develop a high-quality, low-cost and rapid delivery of software products become more and more difficult, that is to simultaneously achieve three goals is difficult. Therefore, we must weigh in the development of software products in the relationship between them, the characteristics of the software to meet the user's requirements, it is necessary to measure and is expected which means that the software product characteristics.

  Software testing undertaken by an independent testing agency has many advantages. Independent testing is carried out by independent software testing and development institutions in the economic and management organization. Independent testing to avoid software developers to test their own software development due to psychological problems, software developers is difficult to objectively and effectively test their software, and to identify those mistakes because of a misunderstanding of the problem is even more difficult to produce. Independent testing also avoid software development organizations to test their software, software product development process constrained by time, cost and quality of the three, time and cost indicators easy to measure, but the quality is difficult to measure, so the software development process, when the time, cost and quality of the three conflict, quality of the most easily overlooked, if the test organization and development organizations from the same institution, the testing process will be under pressure management from the same source and development organization, subject to the testing process interference.

  Using an independent test mode, both in technical or management, to improve the effectiveness of software testing are of great significance.

① objectivity
  error holding on software testing and software errors objective manner, such an objective approach can solve the problem of psychological tests, both software can work in order to expose the wrong attitude, you can not find the influences. Economic independence to make it work more fully press the test conditions required to complete.

② professional
  independent testing as a profession, in the long course of their work is bound to accumulate a lot of practical experience, to form their own professional advantage. At the same time software testing is very high-tech work, the need to study professional team, and engineering practice. Specialization is to raise the level of testing, quality assurance testing, give full play to the inevitable way to test utility.

③ authority
  because the professional advantages, the test results of independent testing of the formation of a more convincing, but the test results and quality evaluation of software often linked by evaluating specialized independent testing agency, more objective, impartial and authoritative sex.

④ resources to ensure
  the main task is to conduct independent testing agency independent testing, which makes testing more assured in funding, manpower and planning, will not be developed to reduce the pressure put to the test, reducing the effectiveness of the test, you can avoid development unit focused on software development and adversely affect the testing.

Guess you like

Origin blog.csdn.net/zfs1570/article/details/85478294