Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Here's my current setup:

  • Compile on teamcity
  • Copy the dlls to 8 agents and run tests simaltaniousisly (via snapshot dependencies)
  • Finally taper them in to a single 'publish' build configuration.

This way I can get through the tests in an hour, but am wondering is there a faster way? All these build machines have multi-core processors and my program should be thread safe, so is there a way to get the tests to run in parallel on one machine?

There's pnunit bundled with NUnit so TC should support it - has anyone had any experiences wiring it into TeamCity yet?

I'd also be keen to here answers from the Java side of the world.

(teamcity's a most excellent tool by the way and I don't work for JetBrains)

share|improve this question
1  
I don't know why, but I envision a soccer mom pointing up and saying "To the cloud!" –  corsiKa Jul 11 '11 at 22:22

2 Answers 2

Personally I prefer the approach that you are currently implementing, i.e. scale out with a lot of test machines. The reasons I prefer it is:

  • Machine level isolation of tests from each other. Even with the best intention, it is possible to get resource contention and tests interfering with each other, especially when web testing is involved (session state), and/or you have to deal with anything at the OS level, like OS error dialogues.

  • Performance. I personally find that the main bottleneck with my tests is that the clients are CPU bound when launching applications or running the application as fast as it will go. How much you can leverage multi-cores is entirely dependent on the application being written to support it.

share|improve this answer

On thoughtworks tech radar I noticed this in the right direction:

https://github.com/test-load-balancer

I think it's probably early days for nunit / team city integration but it's the kind of thing I'm looking for.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.