You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2016/12/30 23:37:58 UTC
[jira] [Updated] (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 ]
Mariia Mykhailova updated REEF-1690:
------------------------------------
Description:
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.
> 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
>
> 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)