Chapter 40 Software Testing

"What, the graphics adapter came out so soon?"

Yang Weining was surprised and delighted, although the computer four-color display adapter is not a too difficult technology, but if you want to get it out in such a short time, the computer institute seems to have done its best. Pen Fun Pavilion wWw. biquge。 info

Yang Weining turned his head to Liu Ye and said, "Liu Gong, then I'll go back first, and you can find someone to help me send me back to the dormitory with the Apple computer in the hotel room." ”

Liu Ye said: "Don't worry, I'll send it to you today, you can go back quickly." ”

Yang Weining nodded and got into the back seat of Liu Wei's 28 bicycle.

The two of them soon arrived at the computer center of the 611 Institute.

On the second floor, the computer room of DJS-130 was already surrounded by a circle of people, in addition to Gu Pei and colleagues from the computer center, there were also two people who Yang Weining did not know.

The old one looked to be in his fifties, with slightly white temples and wrinkled faces, and if it weren't for the cadre uniform of a really good white shirt, he would be no different from an ordinary old peasant.

The young one was twenty-eight or nineteen years old, with thick eyebrows and big eyes, and black-rimmed glasses, like an old pedant.

Seeing Yang Weining come in, Gu Pei smiled and said: "Wei Ning, let me introduce to you, this is Professor Kuang Shilin of the Department of Computer Science of Huaqing University, an authority on computer-aided design in our country, and this is Chen Kai, a researcher at the Institute of Computer Science of the Chinese Academy of Sciences, who is mainly engaged in semiconductor microelectronics design. ”

Kuang Shilin is the one who looks like an old farmer, and Chen Kai is the young one.

Then, Gu Pei introduced to Kuang Shilin and Chen Kai: "Lao Kuang, Xiao Chen, this is Yang Weining, who wants to independently engage in CAD software. ”

A hint of surprise flashed in Kuang Shilin's eyes, obviously a little surprised by Yang Weining's youth, and stretched out his hand with a smile: "Xiao Yang, I have admired your name for a long time, Lao Xia praised you like a flower, today I can be regarded as seeing a real person." ”

Kwong was one of the first experts in China to track CAD technology, but due to the absence of the buzzing decade, Kwong's overall knowledge structure has lagged behind the current development of computers. In later life, his greatest achievement was not to propose any new theories in CAD, but to the students he taught, who established Kaimu Company, which later became a well-known PLM supplier in China.

Therefore, when he heard from Xia Peisu that someone was developing CAD software independently, Kuang Shilin could still sit still, and took this opportunity to rush from the capital with Chen Kai to see what was going on with the CAD software developed by Yang Weining.

Yang Weining hurriedly shook hands with Kuang Shilin and smiled: "Professor Kuang, hello, hello." ”

Then, he shook hands with Chen Kai and said, "Researcher Chen, hello." ”

Chen Kai smiled: "Yang Gong, the four-color display adapter you asked for was sent to you today, I don't know how your CAD software is doing?"

Yang Weining said: "The source code has been written, just waiting for your four-color graphics adapter to arrive and test it on the machine." ”

Chen Kai and Kuang Shilin glanced at each other, and immediately said with joy: "That's great, tonight we will modify the DJS-130 computer overnight, and we can test it on the computer tomorrow." ”

Yang Weining nodded and smiled: "It's exactly what I want." ”

……

Yang Weining has a deep foundation in programming, but when it comes to hardware, the technology is very average.

However, of course, he is not needed for the upgrade of DJS-130, Chen Kai, Kuang Shilin and even Gu Pei and others are all kinds of masters.

That night, everyone had a simple working meal and was busy in the computer room of the DJS-130 computer.

Although only a four-color graphics card was added, it was equivalent to a major operation for the DJS-130 computer, and the debugging work after the modification made the night extremely stressful.

However, in order to see the CAD software written by Yang Weining as soon as possible, everyone devoted themselves to the upgrading of DJS-130.

Yang Weining didn't help in the computer room, he reviewed the source code of the CAD software he wrote again in his dormitory to see if there were any problems in the middle.

The development of CAD software can be said to be the first fire in which he made his name in the Chinese aviation industry, Xu Sheng is not allowed to lose, at this time, even Yang Weining himself is a little nervous.

In fact, I don't know Yang Weining, at this time, whether it is Lu Wenjun, Chen Liangwei, Lu Yang, or Tu Kai from Factory 132, and Xia Peisu who is far away in Mianyang, are all waiting for the results of this test.

Whether Yang Weining's CAD software can become an instant hit is not only crucial to his own future development, but also plays a pivotal role in the development of China's aviation industry and even the entire manufacturing industry.

At eight o'clock in the morning of the next day, Yang Weining came to the DJS-130 computer room with the software source code, and Chen Kai's modification work also entered the final stage, leaving only the final equipment joint commissioning.

By noon, all the preparations were completed, and the DJS-130 computer successfully met the requirements for running the CAD software he had written, according to Yang Weining's advice.

Everyone didn't bother to eat lunch and started the test of CAD software.

Software testing is a necessary stage in the software development process, but the significance of this test is not ordinary.

When Yang Weining loaded the source code floppy disk into the DJS-130 floppy drive, Lu Wenjun, Chen Liangwei, and a group of senior executives of 611 institutes who opposed Yang Weining's development of CAD software rushed to the scene.

Yang Weining also didn't care about greeting others, and according to the past software testing procedures, he first used the white-box method to test the CAD software.

The so-called white box method: the method is to treat the test object as an open box, the tester must understand the internal structure and processing process of the program, check the details of the processing process as the basis, test as many logical paths as possible in the program, check whether the internal control structure and data structure are wrong, and whether the actual running state is consistent with the expected state.

This kind of test is generally only understood by computer professionals, and Lu Wenjun and others can only stare at it with a wide eye, waiting for the test results.

However, Kuang Shilin, Gu Pei and others watched with great interest from the sidelines.

It took about an hour or so for Yang Weining to complete the test of the software control structure and data structure, and everything was perfect except for finding some small bugs.

The next step is to test the functionality of the software.

Functional testing, also known as black box testing, is to treat the test object as a black box, and the tester does not consider the internal structure and processing process of the program at all, and only tests at the interface of the software, and checks whether the program meets the functional requirements according to the requirements specification.

This test is the key to check whether the CAD software can meet the design requirements.