The Lookout

2008-May-19 - Nightly Builds - Just Good Sense

Occasionally in some discussions on Agile the topic of Nightly Builds comes up, and while I will agree that its something that should be done during a sprint, and while its mentioned in a couple of newer editions on the methodology I just see it as something that needs to be done.  You don't need to be on a Scrum Team or on an Agile Sprint to see the value in a nightly build, if your code is building every night then it means people are doing their work and verifying that things work properly, nothing more special than that.  Methodologies are great to build a framework around, and often give high level management some way to say they are doing something that is hot and on topic, or allow them to utilize yet another buzzword.  Outside of that nightly builds are good for everyone.

 

The gains are immense, not only knowing that anyday someone can check out the source tree and get the code to build in their environment but once you have taken the step of having a build happen then  you can go onto the next step of automated testing.  Whether its a suite of Unit Tests or an automated Smoke Test, unless code is building you are not taking that next step, adding those steps allows one to have a good deal of confidence against the code checked in.  Having tests run every night allows you to know that your code is good in the source tree not only because it builds but that its passing a set of tests deemed necessary for the code to always pass.  Confidence assured.

 

So before worrying about whether or not you are following a specific methodology get some basics in place first, Nightly Builds is one of the most important.


2008-May-19 - How realistic is a nightly build?

Posted by spikyone
I don't have enough experience working in an Agile environment and testing in general so I'm asking from an inexperienced point of view but how realistic is a nightly build? I can see the benefits in....say 2 builds a week but a nightly build seems like overkill. However saying that, I guess it boils down to the actual project or software being developed, timelines, and the development rate etc.
To someone who has yet to experience it himself it seems like project teams could quite easily fall into a trap of a nightly build just for the sake of saying there is a nightly build.
Permanent Link

2008-May-19 - They are realistic

Posted by philk10
at my last place we had a CI server up and running that was doing a build and test every 2 hours with a longer test overnight
There was some pain setting it up to begin with, more than compensated for by the errors that would be picked up very quickly when programmers checked in their code

it helps give a more realistic feel for progress, rather than thinking at the end of a week that you've made progress only to find that the week of coding needs 3 days of fixes, you can maintain steady progress
Permanent Link

<- Last Page :: Next Page ->

About Me

A place I can keep up on what is happening in the industry, and in the realm of testing. You're welcome to keep an eye out with me.

«  August 2008  »
MonTueWedThuFriSatSun
 123
45678910
11121314151617
18192021222324
25262728293031

RSS Feed

Subscribe

Friends

JoanneYang
philk10
PeteNairn
strazzerj
whollymindless
JakeBrake
LiLith