Last night to try to develop a test program is not the result, today the system familiar with the operation mechanism, the test program can run up, found some problems in the project and repaired, the current perfect operation.
A little bit of experience:
① test the properties of the program, "Target Frame", must be consistent with the program being tested!!! Must be consistent!!! (There is nothing wrong with the report, it seems that the citation will expire)
② when adding a reference, if the reference project is not possible, you can try referencing the DLL file generated by the project directly
③ when the project is changed, you need to regenerate the dynamic library DLL file and re-reference it, otherwise there will be "statement-by-step and the execution of the procedure to run the yellow arrows jumping!" 】
④ exception "StartIndex cannot be less than 0" the reason may be in the use of some functions, some parameters must not be less than 0, for example, I use. substring (n,m); The n in it was my negligence. In the case of errors in some database data, there will be negative conditions, Reduce the system's fault tolerance, after all, our colleagues in the deployment of the time is likely to be wrong, in view of this situation, the string is first processed before a substring
⑤ the development of the test program, the difficulty is to consider the module, such as the initialization of a class of pre-conditions.
In addition, I forgot to get the milk powder from the supermarket today.
Complete! Projects that are expected to be difficult to complete in a week are now completely completed! The test program developed today is OK to run.