This is the approved revision of this page, as well as being the most recent.
You can run bitcoin in regression test mode with the -regtest command-line argument. This runs a local-only server and lets you generate blocks instantly. Use regtest for app development and testing purposes.
See Also on BitcoinWiki