Unit Test Discovery

aliostad's Avatar

aliostad

25 Aug, 2015 10:56 AM

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

  1. Support Staff 1 Posted by Feodor Fitsner on 25 Aug, 2015 12:37 PM

    Feodor Fitsner's Avatar

    Hi Ali,

    Do you have specified that on UI or in appveyor.yml?

  2. 2 Posted by aliostad on 25 Aug, 2015 01:43 PM

    aliostad's Avatar

    Hi,

    Through UI.

    Thanks

  3. Support Staff 3 Posted by Feodor Fitsner on 25 Aug, 2015 01:51 PM

    Feodor Fitsner's Avatar

    Do your test assemblies get discovered at all if not paths specified?

  4. 4 Posted by aliostad on 25 Aug, 2015 02:08 PM

    aliostad's Avatar

    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

  5. Support Staff 5 Posted by Feodor Fitsner on 25 Aug, 2015 02:11 PM

    Feodor Fitsner's Avatar

    Can you drop me a link to their build(s) please?

  6. 6 Posted by aliostad on 25 Aug, 2015 02:22 PM

    aliostad's Avatar
  7. 7 Posted by aliostad on 25 Aug, 2015 09:36 PM

    aliostad's Avatar

    Hi,

    Any luck yet?

  8. Support Staff 8 Posted by Feodor Fitsner on 26 Aug, 2015 07:26 AM

    Feodor Fitsner's Avatar

    Well, it looks like all Tests project are just disabled to build in Release configuration, right? If you try searching for Tests in a build log you'll find nothing.

  9. 9 Posted by aliostad on 26 Aug, 2015 11:05 AM

    aliostad's Avatar

    Sorry, it looks like "User Error"!
    Thanks a lot for looking into it and your time, I will look into the build.

    Cheers

  10. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.

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