Skip to content

Commit

Permalink
Fix #350 tc showing passed instead of ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Mar 12, 2017
1 parent dc5216c commit 22d0c8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
22 changes: 1 addition & 21 deletions csharptests/csharptests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,5 @@
</Target>
<Target Name="AfterBuild">
</Target>
-->
<Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v3.5'">
<ItemGroup>
<Reference Include="WebDriver">
<HintPath>..\..\packages\Selenium.WebDriver\lib\net35\WebDriver.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6' Or $(TargetFrameworkVersion) == 'v4.6.1' Or $(TargetFrameworkVersion) == 'v4.6.2')">
<ItemGroup>
<Reference Include="WebDriver">
<HintPath>..\..\packages\Selenium.WebDriver\lib\net40\WebDriver.dll</HintPath>
<Private>True</Private>
<Paket>True</Paket>
</Reference>
</ItemGroup>
</When>
</Choose>
-->
</Project>
5 changes: 3 additions & 2 deletions src/canopy/runner.fs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ let private processRunResult suite (test : Test) result =
| FailFast -> ()
| Failed -> ()

reporter.testEnd test.Id

let private runtest (suite : suite) (test : Test) =
if failed = false then
reporter.testStart test.Id
Expand All @@ -168,8 +170,7 @@ let private runtest (suite : suite) (test : Test) =
match testResult with
| Failed -> testResult
| _ -> afterResult

reporter.testEnd test.Id

failureMessage <- null
result
else
Expand Down

0 comments on commit 22d0c8c

Please sign in to comment.