You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2017/01/04 01:47:58 UTC

[jira] [Resolved] (REEF-1690) Replace Skip attribute with Trait for .NET tests running on Yarn

     [ https://issues.apache.org/jira/browse/REEF-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julia resolved REEF-1690.
-------------------------
       Resolution: Fixed
    Fix Version/s: 0.16

resolved via https://github.com/apache/reef/pull/1209

> Replace Skip attribute with Trait for .NET tests running on Yarn
> ----------------------------------------------------------------
>
>                 Key: REEF-1690
>                 URL: https://issues.apache.org/jira/browse/REEF-1690
>             Project: REEF
>          Issue Type: Sub-task
>          Components: REEF.NET
>            Reporter: Mariia Mykhailova
>            Assignee: Mariia Mykhailova
>             Fix For: 0.16
>
>
> xUnit doesn't execute tests annotated with {{[Fact(Skip)]}} even if instructed to run this specific test explicitly. To run some .NET tests on Yarn, we need them to be enabled, so we can't use {{Skip}} anymore.
> We will use trait of environment instead and run local tests with {{-notrait "Environment=Yarn"}} option to exclude these tests from command line local runs. These tests can also be excluded from Visual Studio runs by using {{-Trait:Environment}} in Test Explorer (having to do this is the only behavior change introduced by this JIRA). If these tests are executed on local box, they'll fail, as expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)