tag:help.appveyor.com,2012-11-13:/discussions/problems/13304-nunit-executable-on-ubuntuAppVeyor: Discussion 2018-08-25T02:27:53Ztag:help.appveyor.com,2012-11-13:Comment/449785772018-03-27T19:55:39Z2018-03-27T20:04:58ZNunit executable on Ubuntu<div><p>Hi Luca,</p>
<p>We do not have Nunit on our Ubuntu image yet. We are preparing script to install it on the fly for you. Will update later.</p>
<p><strong>UPDATE</strong>: filed <a href="https://github.com/appveyor/ci/issues/2211">https://github.com/appveyor/ci/issues/2211</a>.</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/449785772018-03-27T23:40:53Z2018-03-27T23:40:53ZNunit executable on Ubuntu<div><p>Hi Luca,</p>
<p>We cloned your repo and did some experiments. First question is: why on Travis you run it with <a href="https://github.com/luca-piccioni/OpenGL.Net/blob/master/.travis.yml#L24">mono</a>, while on AppVeyor without?</p>
<p>When we replaced <a href="https://github.com/luca-piccioni/OpenGL.Net/blob/da49e9b377179030b1923c02890e0f1689400cca/OpenGL.Net.targets#L15">this line</a> with</p>
<pre>
<code><Exec Command="mono /home/appveyor/OpenGL.Net/packages/NUnit.ConsoleRunner.3.7.0/tools/nunit3-console.exe &quot;$(TargetPath)&quot; $(NUnitResult) $(NUnitOptions)"/></code>
</pre>
<p>it started working. It actually failed but it was more specific test failures.</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/449785772018-03-28T20:23:41Z2018-03-28T20:23:43ZNunit executable on Ubuntu<div><p>Running the nuget console runner is the default behavior without options (i.e. running on my local machine). How can I get unit test result? The only time I tried, I got no output on the console.</p></div>Lucatag:help.appveyor.com,2012-11-13:Comment/449785772018-03-28T20:26:34Z2018-03-28T20:26:34ZNunit executable on Ubuntu<div><p>About TravisCI: this is a non-working solution. I'm trying to get coverage using mono: that command line does not check unit tests, but it is trying to profile for coverage (but it does not display anything on codecov.io ... sigh).</p></div>Lucatag:help.appveyor.com,2012-11-13:Comment/449785772018-03-28T22:45:10Z2018-03-28T22:45:10ZNunit executable on Ubuntu<div><p>You can <a href="https://www.appveyor.com/docs/running-tests/#uploading-xml-test-results">upload test results</a> with our API. Let us know if this works for you.</p></div>Ilya Finkelshteyn