Automatically build + automatic test + MAIL send build results + bug management

xiaoxiao2021-04-03  235

Transfer from http://www.manageblog.net/taifeng/archive/2005/09/27/258.html

In the J2EE project, automatic build automatic test Mail send build results have been recorded in detail, but I hope to combine BUG management into automatic build tasks, more automation: 1. Can use Ant Compiling the script to create a configuration script, combined with the system's timing running mechanism to set the automatic build task; 2. You can use the JUnit test framework to write unit tests, and can be integrated into the Ant build script; my problem is: How to write automatic integration Test program and integrated into the Ant build script? 3. Mail Send to all relevant personnel build results 4. When building tasks run the test program, if there is an error, build the task automatically position the error happened in which test program is generated, and send bug reports to the test program, at the same time Insert a bug record into the BUG management system, so semi-automated BUG management (semi-automation is because to track the Bug status, you need to manually go to the Close Bug to indicate that the BUG has been previously 3 o'clock. There are a lot of information. How do you do 4 points? First, all test procedures should be linked to Email's email. Ant should have such as Switch or IF ... Elseif ... Else The matching task of the class, we can match the MAIL that should match the test program in the Ant Build script; secondly, there must be a bug management system, all project related personnel can be accessed. BUG management system can manage the following format BUG Information: BUG Discovery BUG Description Information BUG Repair Description Information BUG Severe Summary BUG BUG Discovery Time BUG Closed Time BUG Status If the 4th point can be, the project capability can greatly increase. It seems that I will next To study how to achieve these tasks. In particular, how to locate the bug and write to the BUG management system? If you have considered this issue, please don't enlighten it. How to implement these automation in the project? For a newly established project team, you need to train all personnel before starting coding, preferably use a simple instance to make the project participant how to guarantee the entire progress. 1. Learn Ant, JUnit2. To point out the critical points, such as defining the critical level in the project and the time required for FIX, the bug does not fix the BUG status within the specified time. BUG responsible people need timely FIX to ensure that their bug has the least impact on other personnel of the project. Project administrators and bug responsible people need to pay attention to the BUG in the BUG management system. 3. The mail system and instant communication tool used in the project, the mail tool wants to set the new mail reminder function, and the mail recipient can respond according to the first time according to the emergency. The first thing for project participants should be the first thing to go to work, and the BUG notification will be viewed, and the BUG management system is viewed. If BUG needs to fix, you should first fix the bug, and there is no bug to start the next task.

转载请注明原文地址:https://www.9cbs.com/read-131684.html

New Post(0)