Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

NUnitRunner : How to use pass NUnit Options in the NUnitRunner task?

I have a project where I want to pass NUnit options in Bamboo's NUnitRunner task. My NUnit command line is as follows:

nunit-console.exe --params="Browser=chrome;ExecuteSomething=Yes" Solution.compiled.dll --where "cat==ParallelCategory"

 

How can I achieve similar thing in Bamboo?

1 answer

Hi Abhash,

Thank you for reaching out to the Atlassian Community!

Those command line options are from NUnit version 3.x, for which we don't yet have support. There is an open Feature Request for supporting NUnit 3.x arguments and parameters here:
[\[BAM\-18833\] Support New NUnit Runner Command line parameters|https://jira.atlassian.com/browse/BAM-18833]

As a workaround, please add the command into a Script task, using an Inline script and your command line as you sent before; ie:

nunit-console.exe --params="Browser=chrome;ExecuteSomething=Yes" Solution.compiled.dll --where "cat==ParallelCategory"

(Edit) Please note that we'll need to specify NUnit 2 format for the test results file so that Bamboo is able to parse it. To do this, you can add the following:

--result=TestResults.xml;format=nunit2

Please don't hesitate to reach out if you have any other questions!

Thanks,

Elias | Bamboo Support
Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

1,010 views 0 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you