Please support nunitlite for testing.
Hi,
We're using nunitlite.dll instead of nunit.framework.dll for our testing framework to be cross platform. It would be nice if the testing framework for AppVeyor would be updated to support this. I've tried setting the test assemblies directly, and it still refused to run the tests.
This is simply a detection problem - nunit.exe is perfectly capable of running tests on an assembly using nunitlite, so adding this support should be fairly straight forward.
I understand I can write my own script to run the tests, though it would be great if this was supported right out of the box.
Thanks for all the hard work on making AppVeyor great!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 04 Jun, 2014 04:02 PM
Sure, will take a look into that!
- Feodor
Support Staff 2 Posted by Feodor Fitsner on 04 Jun, 2014 05:26 PM
Hm, that's strange. I ran NUnitLite assembly with nunit-console.exe and got exception in Assert.AreEqual statement. Do I need some specific version of NUnit to run NUnitLite tests?
3 Posted by curtis.wensley on 05 Jun, 2014 05:29 AM
We are using nunitlite.dll from the nunit 2.9.6 development release, which works fine with at least nunit-console.exe v2.6.3 (at least with my testing). It also works when using the Portable.NUnitlite nuget package.
However, I didn't realize that nunitlite 1.0.0 from nuget doesn't work. Apologies, it sounds like it may not be as straight forward as I thought.
For now, I am certainly happy to just write my own scripts to run the test.
Support Staff 4 Posted by Feodor Fitsner on 05 Jun, 2014 05:27 PM
Hm, it's getting really confusing :) This page (https://launchpad.net/nunit-3.0) says "NUnit Framework 2.9.5 Released on 2010-07-30 (!!!)", but the latest official release here (http://www.nuget.org/packages/NUnit/) is 2.6.3 (October 2013) and this is what we have on build workers. The project is being moved to GitHub (https://github.com/nunit/nunit-framework) which has the latest "release" 2.9.6 (https://github.com/nunit/nunit-framework/releases).
5 Posted by curtis.wensley on 05 Jun, 2014 05:33 PM
Yeah, nunit/nunitlite releases are certainly all over the map.
Unfortunately, it makes having a consistent unit test framework for limited/mobile platforms and desktop very difficult, while still taking advantage of tooling.
Fortunately, using Portable.NUnitLite does indeed work correctly with appveyor using a custom build script. E.g. https://ci.appveyor.com/project/cwensley/eto/build/tests
Support Staff 6 Posted by Feodor Fitsner on 05 Jun, 2014 05:49 PM
Yeah, looks nice and, indeed, it's working with NUnit 2.6.3. I think we could add Portable.NUnitlite into tests auto discovery.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.