Testing assembly specification in appveyor.yml seems broken

aoberoi's Avatar

aoberoi

05 Mar, 2015 02:20 AM

hey there,

i'm trying to run tests for an open source project. i'm using the instructions outline in this page. specifically, i'm using xunit to run my tests and i have just one test assembly. no matter what i do, my logs seem to show show the following:

xunit.console <assembly> /appveyor
The system cannot find the file specified.

(take a look at the builds: https://ci.appveyor.com/project/aoberoi/opentok-net-sdk/history)

i've tried a couple variations on the spec in appveyor.yml, including specifying the assemly name explicitly (OpenTokTest.dll) and using wildcards to get it implicitly ('**/*.Test.dll'). no luck so far. is there something you can tell me i might be doing wrong?

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Mar, 2015 02:26 AM

    Feodor Fitsner's Avatar

    When you call xunit.console it assumes you should replace <assembly> with a full path to the assembly, kind of:

    xunit.console path\to\my\test\assembly.dll /appveyor
    
  2. Support Staff 2 Posted by Feodor Fitsner on 05 Mar, 2015 02:26 AM

    Feodor Fitsner's Avatar

    Otherwise try using "Auto" mode with autodiscovery.

  3. 3 Posted by aoberoi on 05 Mar, 2015 06:15 AM

    aoberoi's Avatar

    Thanks, its working now.

    Please consider clarifying this in the documentation. It seemed as though the test > assemblies section was defining a matrix of test configurations and that the was a placeholder for the system to substitute each assembly into while running all the configurations.

  4. aoberoi closed this discussion on 05 Mar, 2015 06:15 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