xunit tests are not ignored

christopher's Avatar

christopher

15 Mar, 2015 02:13 AM

My yml file is here:
https://github.com/bennage/data-pipeline/blob/master/appveyor.yml

I'm expecting AppVeyor to ignore tests like this:
https://github.com/bennage/data-pipeline/blob/master/src/Implementa...

However, the tests are still executing. It is perhaps be I have more than one trait?

  1. 1 Posted by christopher on 15 Mar, 2015 02:25 AM

    christopher's Avatar

    I should have said, I'm using 1.9.2

  2. 2 Posted by christopher on 15 Mar, 2015 02:30 AM

    christopher's Avatar

    Here's a link to the specific version of the yml. I'm going to play it, and see if I can get different results.

    https://github.com/bennage/data-pipeline/blob/6d07e5a710e5bbb81496f...

  3. Support Staff 3 Posted by Feodor Fitsner on 15 Mar, 2015 03:20 AM

    Feodor Fitsner's Avatar

    Yeah, this yaml should work to ignore tests with [Trait("Category", "Integration")].

  4. 4 Posted by christopher on 15 Mar, 2015 04:57 AM

    christopher's Avatar

    The problem was that I had multiple traits of type category on the tests in questions .

  5. christopher closed this discussion on 15 Mar, 2015 04:57 AM.

  6. christopher re-opened this discussion on 16 Mar, 2015 01:21 AM

  7. 5 Posted by christopher on 16 Mar, 2015 01:21 AM

    christopher's Avatar

    I was to quick to assume that I had fixed the problem. I switch to an only model and my build passed. However, this is because none of my tests ran. :-P
    I upgraded to xunit 2.0 though and now I see tests executing.

  8. christopher closed this discussion on 16 Mar, 2015 01:22 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