Tuesday, June 05, 2007

Why Nightly build is used for the projects

Benefits of Using Nightly build tool

The most important benefit of using nightly build is utilizing resources while they are free.

Build automation
is the act of scripting or automating the process of compiling computer source code into binary code. This automated build is in contrast to a manual build process where a person has to perform multiple, often tedious and error prone tasks. It involves automating a wide variety of tasks that a software developer will do in their day-to-day activities including things like packaging binary code, running tests and deployment to production systems. The goal of this automation is to create a one-step process for turning source code into a working system. This is done to save time and to reduce errors.

You can have set of JUNIT testcases for your project which you can configure to be executed automatically in the night time and you can view results in the day and have corrections. No need to execute each testcases manually one by one

Code Coverage
While running nightly build you can also include ant script to do the code coverage instrumentation before executing JUNIT test cases so we can get to know how much code is covered by executing testcases.

Code Style
You can also include ant script for checking code style like empty block of code, using logger instead of System.out.println or System.out.err and so on...

How to use Luntbuild as an nightly build tool http://technical-tejash.blogspot.com/2007/06/creating-nightly-build-coverage-junit.html

Share |

No comments yet


Embed Wave to Blogger