I'm trying to get Bamboo to Run NUnit tests. I'm currently getting this error. I've tried giving the task my sln, my csproj, I even added a step before hand to build the solution, and tried giving the NUnit task the compiled dll, they all resulted in below. It's pretty much an empty NUnit test project, that has a single test that asserts 1 = 1.
And idea on what to try next?
Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. error 09-Nov-2014 15:43:15 at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp) error 09-Nov-2014 15:43:15 at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon) error 09-Nov-2014 15:43:15 at NUnit.UiKit.MessageDisplay.Error(String message) error 09-Nov-2014 15:43:15 at NUnit.Gui.AppEntry.Main(String args) error 09-Nov-2014 15:43:15 at NUnit.Gui.Class1.Main(String args) simple 09-Nov-2014 15:43:15 Parsing test results under C:\Atlassian\bamboo-home\xml-data\build-dir\AW-ACC-JOB1... simple 09-Nov-2014 15:43:15 Failing task since return code of [C:\Program Files (x86)\NUnit 2.6.3\bin\nunit.exe client/C:\Atlassian\bamboo-home\xml-data\build-dir\AW-ACC-JOB1\client\ABlight.Client.Test\ABlight.Client.Test\bin\Debug\ABlight.Client.Test.dll -xml=TestResult.xml] was -532459699 while expected 0 simple 09-Nov-2014 15:43:15 Finished task 'Run Client NUnit Tests' with result: Failed
Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...
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!
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