R – How you setup a greenfield project

buildbuild-automationbuild-processcontinuous integration

I'm setting yup a Greenfield (yeeea!) web application just now was wondering how other people first setup their project with regards to automated/CI build?

I generally follow this:

  1. Create SVN Repository with basic layout (trunk, braches, lib, etc.)
  2. Create basic solution structure (core, ui, tests)
  3. Create a basic test that fails
  4. Copy NAnt scripts, update and tweak, make sure the failing test breaks the build locally
  5. Commit
  6. Setup default debug build on CI server (TeamCity) making sure the build fails
  7. Fix text
  8. Commit
    9 Make sure build passes on CI
  9. Done….

Best Answer

A repost from the question text:

  1. Create SVN Repository with basic layout (trunk, braches, lib, etc.)
  2. Create basic solution structure (core, ui, tests)
  3. Create a basic test that fails
  4. Copy NAnt scripts, update and tweak, make sure the failing test breaks the build locally
  5. Commit
  6. Setup default debug build on CI server (TeamCity) making sure the build fails
  7. Fix test
  8. Commit
  9. Make sure build passes on CI
  10. Done....