How to check out test code once, then use it to run multiple tests

I want to run a set of regression tests (built in Selenium and driven by NUnit) using Bamboo. As there are quite a few of them, and I want the results of every test to show up on the wallboard separately, I need to configure a plan for each of the tests (right?). But I do not want to have to perform a checkout / package restore / compilation sequence for my test code for every plan.

Is there a way to do a single checkout / package restore / compilation action first, then run several plans separately (either in sequence or parallel) using the test binaries that have been created?

2 answers

For one you can use shallow clones to lower the amount of data you get per fetch.

For another you can cache the data on your repository so it doesn't fetch all the data again.

Then you could just define your results in different folders set them as artifacts and run all the tests in one job for example. This way all of the reports would come in one artifact page and you could run all the test in one job. This is very useful if you want to run the same things on your branches. This way you can just use bamboo branches in their full effect.

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.