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.
Closing Question
has this been resolved? I'd like to understand the NUnit Runner executable path as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.