-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from lgrabarevic/feature/test-case-count
Feature: Show unit test count in build overview
- Loading branch information
Showing
34 changed files
with
912 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using System; | ||
using BuildsAppReborn.Contracts.Models; | ||
using Newtonsoft.Json; | ||
|
||
namespace BuildsAppReborn.Access.Models | ||
{ | ||
internal abstract class TfsTestRun : ITestRun | ||
{ | ||
#region Implementation of ITestRun | ||
|
||
[JsonProperty("url")] | ||
public String Url { get; private set; } | ||
|
||
[JsonProperty("webAccessUrl")] | ||
public String WebUrl { get; private set; } | ||
|
||
[JsonProperty("id")] | ||
public Int32 Id { get; private set; } | ||
|
||
[JsonProperty("incompleteTests")] | ||
public Int32 IncompleteTests { get; private set; } | ||
|
||
[JsonProperty("name")] | ||
public String Name { get; private set; } | ||
|
||
[JsonProperty("notApplicableTests")] | ||
public Int32 NotApplicableTests { get; private set; } | ||
|
||
[JsonProperty("passedTests")] | ||
public Int32 PassedTests { get; private set; } | ||
|
||
[JsonProperty("state")] | ||
public String State { get; private set; } | ||
|
||
[JsonProperty("totalTests")] | ||
public Int32 TotalTests { get; private set; } | ||
|
||
[JsonProperty("unanalyzedTests")] | ||
public Int32 FailedTests { get; private set; } | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace BuildsAppReborn.Access.Models | ||
{ | ||
// ReSharper disable once UnusedMember.Global | ||
internal class Tfs2017TestRun : TfsTestRun | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace BuildsAppReborn.Access.Models | ||
{ | ||
// ReSharper disable once UnusedMember.Global | ||
internal class VstsTestRun : TfsTestRun | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.