You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by we...@apache.org on 2016/04/08 04:06:15 UTC
reef git commit: [REEF-1319] Create a test log when running tests
from the command line
Repository: reef
Updated Branches:
refs/heads/master f28def478 -> d1a147ff0
[REEF-1319] Create a test log when running tests from the command line
This change:
* adds -html option to xunit calls to enable log writing
* sets StopOnFirstFailure flag to false, so that tests on all projects
are executed even if one of the first projects fails.
JIRA:
[REEF-1319](https://issues.apache.org/jira/browse/REEF-1319)
Pull request:
This closes #933
Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/d1a147ff
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/d1a147ff
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/d1a147ff
Branch: refs/heads/master
Commit: d1a147ff04c49a93434660b122bf184091d6a13a
Parents: f28def4
Author: Mariia Mykhailova <ma...@apache.org>
Authored: Thu Apr 7 13:49:30 2016 -0700
Committer: Markus Weimer <we...@apache.org>
Committed: Thu Apr 7 19:05:38 2016 -0700
----------------------------------------------------------------------
lang/cs/TestRunner.proj | 2 +-
lang/cs/xunit.targets | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/reef/blob/d1a147ff/lang/cs/TestRunner.proj
----------------------------------------------------------------------
diff --git a/lang/cs/TestRunner.proj b/lang/cs/TestRunner.proj
index 7b48608..0ba9c99 100644
--- a/lang/cs/TestRunner.proj
+++ b/lang/cs/TestRunner.proj
@@ -27,6 +27,6 @@ under the License.
</PropertyGroup>
<Target Name="Test">
<MSBuild Projects="@(ProjectReferences)"
- Targets="Test" Properties="Configuration=$(Configuration);Platform=$(Platform)" StopOnFirstFailure="true" />
+ Targets="Test" Properties="Configuration=$(Configuration);Platform=$(Platform)" StopOnFirstFailure="false" />
</Target>
</Project>
http://git-wip-us.apache.org/repos/asf/reef/blob/d1a147ff/lang/cs/xunit.targets
----------------------------------------------------------------------
diff --git a/lang/cs/xunit.targets b/lang/cs/xunit.targets
index 3abcc9f..301ab19 100644
--- a/lang/cs/xunit.targets
+++ b/lang/cs/xunit.targets
@@ -49,7 +49,7 @@ under the License.
<Exec Command="$(SolutionDir)\.nuget\nuget.exe restore $(SolutionDir)\.nuget\packages.config -o $(PackagesDir)" />
</Target>
<Target Name="Test">
- <Exec Command="$(PackagesDir)\xunit.runner.console.$(xUnitVersion)\tools\xunit.console.exe $(OutputPath)\$(AssemblyName).dll"
+ <Exec Command="$(PackagesDir)\xunit.runner.console.$(xUnitVersion)\tools\xunit.console.exe $(OutputPath)\$(AssemblyName).dll -html $(OutputPath)\xunit_report.html"
IgnoreStandardErrorWarningFormat="true"
/>
</Target>