I started my internship in February, and now it's almost three months. The work I 've done has come to an end, so I can write a summary for later reference.
Later: This log was actually a long time ago. It was supposed to be finished yesterday, but every time I just wanted to write it, I couldn't knock on the keyboard.
-- Do I not like to write a summary? -- A little bit, but after I finished the lcdnumber yesterday, I immediately wrote a summary, which is also very smooth ..
-- It should be because this summary has taken a long time, and enthusiasm has subsided. Then, it is always a little bit of blood to sum up. write these words to warn yourself. In the future, we should write a summary quickly, otherwise it would be really uncomfortable...
In fact, it is not complicated. So far, we have done three things:
I. Write Test Cases
Ii. modify the code and write a test script.
3. compiled an interface similar to the serial port debugging assistant for assisting in serial port debugging.
Part1: Writing Test Cases
Step 1: read the document and familiarize yourself with the correct format of the use case. The use case is a JSON-formatted statement that contains several variables.
Step 2: Write test cases: Write the correct statements, assign different values to each variable, and combine the variables in different order and quantity.
Write the wrong statement: (1) Assign the wrong value to the variable (2) Wrong statement writing format (3) then combine the variable in different order and different numbers
Part2: Modify the familiar code and write a test script.
Step 1: modify the code so that the modules to be tested are independent of other modules for testing. At the same time, manually test whether the unit module can determine the correct and wrong statements by using a small number of statements. debug the bug
Step 2: Write a test script to perform automated script testing. Save the test case as a TXT file and load it in the module as an address, determine whether the parsing function of the module is correct based on the return value provided by the module.
This automated test to learn a lot of things, see the specific "automated script Test summary": http://www.cnblogs.com/shixiaomiao/p/3883551.html
Part3: compile an interface similar to the serial port debugging Assistant
I learned a lot of things, and I also came into contact with QT. I took the last pyside Road...
Specific see: The first completed QT interface ": http://www.cnblogs.com/shixiaomiao/p/3984278.html
Summary of three-month internship-completion of one phase