Unit Test Discovery
Hi,
I have a few projects some xUnit and some NUnit and use script for build but not unit tests. Now discovery none of my projects has been working and I have used wildcard **\*.Tests.dll to no avail. All my test projects end with .Tests so this should work, no?
Thanks
Ali
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 25 Aug, 2015 12:37 PM
Hi Ali,
Do you have specified that on UI or in appveyor.yml?
2 Posted by aliostad on 25 Aug, 2015 01:43 PM
Hi,
Through UI.
Thanks
Support Staff 3 Posted by Feodor Fitsner on 25 Aug, 2015 01:51 PM
Do your test assemblies get discovered at all if not paths specified?
4 Posted by aliostad on 25 Aug, 2015 02:08 PM
No they don't that is why I had to specify. These are all open source projects, so if it helps to see the code, here they are:
https://github.com/aliostad/CacheCow
https://github.com/aliostad/BeeHive
https://github.com/aliostad/PerfIt
There is another project whose tests I discovered no problem and is the one that its build not using script - but discovery of the solution:
https://github.com/aliostad/RandomGen
Support Staff 5 Posted by Feodor Fitsner on 25 Aug, 2015 02:11 PM
Can you drop me a link to their build(s) please?
6 Posted by aliostad on 25 Aug, 2015 02:22 PM
Sure here it is
https://ci.appveyor.com/project/aliostad/perfit/settings/tests
or
https://ci.appveyor.com/project/aliostad/beehive/build/tests
7 Posted by aliostad on 25 Aug, 2015 09:36 PM
Hi,
Any luck yet?
Support Staff 8 Posted by Feodor Fitsner on 26 Aug, 2015 07:26 AM
Well, it looks like all Tests project are just disabled to build in Release configuration, right? If you try searching for
Testsin a build log you'll find nothing.9 Posted by aliostad on 26 Aug, 2015 11:05 AM
Sorry, it looks like "User Error"!
Thanks a lot for looking into it and your time, I will look into the build.
Cheers
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.