In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
The editor would like to share with you the work that accounts for the largest percentage of the total workload in software engineering. I hope you will gain something after reading this article. Let's discuss it together.
For a software project, the work that accounts for the largest percentage of the total workload is testing and debugging. The purpose of testing is to find defects in the program, and the purpose of debugging is to locate and solve problems in the program. Testing runs through the whole life cycle of the software, and debugging is generally in the development stage. The operating environment of this tutorial: windows7 system, Dell G3 computer.
For a software project, the work that accounts for the largest percentage of the total workload is testing and debugging.
Correlation
Generally speaking, programmers spend much more time in the testing and debugging phases of the development process than in writing code. A program that can't debug is not a good program!
The purpose of testing is to find defects in the program, and the purpose of debugging is to locate and solve problems in the program. Testing runs through the whole life cycle of the software, and debugging is generally in the development stage.
Testing is divided into white box and black box, black box testing is actually testing the integrity of the function, whether it meets the requirements, and does not care about the internal implementation, that is, the written test cases and the implementation code are completely independent.
Because the black box cannot know the implementation of the internal code, the possible problems in the code itself are unknown to the black box, in which case white box testing is required.
White-box testing divides the large system into several small modules to test individually, and if necessary, the main functions can be tested separately to check whether the output or execution meets the expectations by transforming different inputs. (it is particularly necessary to assume various special cases, boundary areas, etc.)
To find a problem, you need to solve the problem. In general, solving is more complex than finding. It is necessary to locate the location of the problem by various means, use debugging tools reasonably, and add breakpoints in the appropriate location. It can greatly improve the efficiency of solving the problem. The personal approach is to first analyze the difference between expectation and reality, generally speaking, you can roughly guess where the problem may occur, and then test and analyze these places, disassemble the place where the problem occurs, and track it step by step until you find the source (generally speaking, if you have some understanding of the overall situation of the code, you can accurately guess which part of the problem occurs in most cases. Then track this part, of course, this can only solve most of the relatively simple problems, complex problems may not be able to accurately locate one or two guesses, then you need to be patient, continue to guess, continue debugging, until you find the source of bug)
It can only be said that debug experience is very important. In the case of rich experience, many questions can basically make accurate positioning guesses directly, this is the art of debug.
After reading this article, I believe you have a certain understanding of "what is the work that accounts for the largest percentage of the total workload in software engineering". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
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: 264
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.