Read the notes two "building law"

    As a qualified software engineers, we have to learn some basic techniques and personal development process, unit testing, regression testing and performance analysis tools, as well as personal development process have a certain understanding.

    Unit testing not only allows the module responsible explicit function of the module, also allows other callers to understand the function modules, good unit tests, you can make change inside the module does not affect other modules, ensure the quality of the module. The test unit tests the basic program units - class, on this basis, to test some of the most basic functions of the system point (point of these functions of several classes). To test unit tests each method and API each parameter. Unit testing the temporary directory or file is created, create or modify a record in a database should be promptly deleted or restored. To all the unit tests for the code are tested to ensure full coverage of the test. Unit testing should verify the program on the most basic functions / parameters correctness, unit test code should be written by one person most familiar with this code, unit test code and test code must be stored and maintained together.

    Regression testing can be understood as regression testing. Software development, if a module or function used to be a working, but in a new building in a problem, then the module will appear a "step backward", degraded from the previous normal operating state to the abnormal operating state . Performance analysis tool has two analysis methods: sampling and code injection.

    Personal development includes the following processes: requirements analysis, generate design documents, design review, code specifications, specific design, the specific coding, code review, testing, recording a test report, the computational workload, hindsight and proposed processes and improvement plans and other processes.

     For a number of different basic needs will require different technical engineers. If you want to improve your skills, then first of all we need to put some small problems all through their own efforts to solve the problem without a brain to become directly addressed. Sometimes we need to pair programming and development, knot there are many benefits for development.

    Code requires review, we need to test the code before the review, single-step execution in the debugger, reviewers can choose to face review, independent review or otherwise. In the review process, we also need to consider a number of issues, after the modification will have some impact on other functions, resulting in what the root cause of the problem is that, in the future how to avoid, etc., after the end of the review, for a certain number of obvious errors to promptly corrected, that within a short time should not be able to solve the problem must be recorded.

 

Guess you like

Origin www.cnblogs.com/zhang12345/p/10990410.html