How best to do this

We used to have in TeamCIty

Dev
Staging
Prod

as separate build steps, we then ran tests as part of the build process.

Now we have just one build in TeamCity which creates our package and deploys to each environment, how are people running tests against staging etc?

Hi,

Thanks for reaching out! Without knowing too much about your app, i could recommend you the following workflow in teamcity:

  1. Pack your application and upload the package to your feed
  2. Deploy to dev and wait for the deployment to finish
  3. Run tests against Dev
  4. Promote to Stage and wait for the deployment to finish
  5. Tests on stage
  6. Promote to Prod and wait for the deployment to finish
  7. Tests on prod (if you ever do them).

Hope it helps!

Dalmiro