HOME

TheInfoList



OR:

A daily build or nightly build is a
software build A software build is the process of converting source code files into standalone artifact (software development), software artifact(s) that can be run on a computer, or the result of doing so. In software production, builds optimize software for pe ...
of the latest version of a software system, run automatically on a daily/nightly basis. This is so it can first be compiled to ensure that all required dependencies are present, and possibly tested to show no bugs have been introduced. The daily build is also often publicly available allowing access to the latest features for feedback. In this context, a ''build'' is the result of
compiling In computing, a compiler is a computer program that translates computer code written in one programming language (the ''source'' language) into another language (the ''target'' language). The name "compiler" is primarily used for programs tha ...
and linking all the files that make up a program. The use of such disciplined procedures as daily builds is particularly necessary in large organizations where many programmers are working on a single piece of software. Performing daily builds helps ensure that developers can work knowing with reasonable certainty that any new bugs that show up are a result of their own work done within the last day. Daily builds typically include a set of tests, sometimes called a " smoke test." These tests are included to assist in determining what may have been broken by the changes included in the latest build. The critical piece of this process is to include new and revised tests as the project progresses.


Continuous integration builds

Although daily builds were considered a best practice of software development in the 1990s, they have now been superseded.
Continuous integration Continuous integration (CI) is the practice of integrating source code changes frequently and ensuring that the integrated codebase is in a workable state. Typically, developers Merge (version control), merge changes to an Branching (revisio ...
is now run on an almost continual basis, with a typical cycle time of around 20-30 minutes since the last change to the source code. Continuous integration servers continually monitor the
source code control system Source Code Control System (SCCS) is a version control system designed to track changes in source code and other text files during the development of a piece of software. This allows the user to retrieve any of the previous versions of the origin ...
. When these servers detect new changes, they use a build tool to rebuild the software. Good practice today is also to use continuous integration as part of
continuous testing Continuous testing is the process of executing automated tests as part of the software delivery pipeline to obtain immediate feedback on the business risks associated with a software release candidate.
, so that
unit test Unit testing, component or module testing, is a form of software testing by which isolated source code is tested to validate expected behavior. Unit testing describes tests that are run at the unit-level to contrast testing at the integration ...
s are re-run for each build, and more extensive functional testing (which takes longer to perform than the build) performed as frequently as its duration permits.


See also

* Neutral build * Smoke testing in software development


References


External links


IEEE Best software practices at Steve-McConnellDaily builds of ubuntu, updated almost everyday
a good example of what a daily build is Software testing Extreme programming Computer programming {{soft-eng-stub