Unable to Add NUnit Runner Capability To Elastic Image

I am new to Bamboo and I would like to run my NUnit tests usng the Bamboo NUnit task. I currently have three tasks in the project plan which consist of the source code checkout first, then followed by an MSBuild Task. When the plan is executed with just these two tasks the build will complete successfully albeit a testless one. When adding a third task (NUnit Runner) and running the plan I get a failure with the following error:

09-Apr-2014 10:46:27 Error occurred while running Task 'All Tests(4)' of type com.atlassian.bamboo.plugin.dotnet:nunitRunner.
09-Apr-2014 10:46:27 java.lang.IllegalArgumentException: NUnit Console Executable not found
09-Apr-2014 10:46:27 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.plugin.dotnet.tests.nunit.NUnitRunnerTaskType.execute(NUnitRunnerTaskType.java:91)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:216)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
09-Apr-2014 10:46:27 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
09-Apr-2014 10:46:27 at java.lang.Thread.run(Thread.java:662)

I have also added the capability to the respective elastic image within configuration > capabilities. However i am using a local path to specify the nunit executable which I believe could be incorrect. Could you please advice on how I could configure the NUnit Runner capability and setup the NUnit Task so I am able to run my NUnit tests successfully.

Please see attached image.

2 answers

1 accepted

Closing Question

has this been resolved? I'd like to understand the NUnit Runner executable path as well

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

352 views 6 15
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot