Multiple Test assemblies – only one gets executed

Dave Senn's Avatar

Dave Senn

27 May, 2015 08:55 AM

I’ve two test assemblies in my project (, defined like this (YAML):
    - .Src\Extend.Testing\bin\$(configuration)\Portable\Extend.Testing.dll
    - .Src\Extend.Testing\bin\$(configuration)\Net40\Extend.Testing.dll

When I look at the build log I can only see the output of one test run… why does appveyor not run both test?

  1. Support Staff 1 Posted by Feodor Fitsner on 27 May, 2015 08:35 PM

    Feodor Fitsner's Avatar

    Will take a look what's wrong with discovering those assemblies.

    For now you can just replace autodiscovery with explicit calls to nunit-console.

  2. 2 Posted by kasper on 10 Mar, 2017 11:34 AM

    kasper's Avatar

    Any progress with this? My definition

        - FooCorp.Permissions.Tests.dll
        - FooCorp.Permissions.Client.Tests.dll


    Discovering tests...OK
    %xunit20%\xunit.console.x86 "C:\projects\FooCorp-permissions\FooCorp.permissions.Tests\bin\Debug\FooCorp.permissions.Tests.dll" -appveyor Console Runner (32-bit .NET 4.0.30319.42000)
      Discovering: FooCorp.permissions.Tests
      Discovered: FooCorp.permissions.Tests
      Starting: FooCorp.permissions.Tests
      Finished: FooCorp.permissions.Tests

    The artifacts collection, however, works

     - path: 'FooCorp.permissions/*.nupkg'
     - path: 'FooCorp.permissions.Client/*.nupkg'

  3. 3 Posted by Christian Mikke... on 10 Mar, 2017 12:16 PM

    Christian Mikkelsen's Avatar


    We sometimes experience the same issue with auto discovery and when we do not specify the path but only the dll as stated above.
    Any news on a fix?

    Kind regards

  4. Support Staff 4 Posted by Ilya Finkelshte... on 11 Mar, 2017 03:20 AM

    Ilya Finkelshteyn's Avatar

    Could somebody please provide a repro in public repository? I could not easily reproduce it...


  5. 5 Posted by igitur on 21 Aug, 2017 05:46 PM

    igitur's Avatar

    Ilya, you can check the PR at . I'm quite sure I've set my target assemblies to test, yet the autodiscover is triggered and only the net40 build is tested. See

  6. Support Staff 6 Posted by Ilya Finkelshte... on 23 Aug, 2017 05:34 AM

    Ilya Finkelshteyn's Avatar

    Francois, thank you for interesting scenario :) Please watch this issue. For now temporary workaround (did not test, but I believe should work) is to use different file names for tests assemblies.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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