Skip to content

Commit

Permalink
Fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Paige committed Jan 8, 2021
1 parent 50393b9 commit 04167b9
Show file tree
Hide file tree
Showing 18 changed files with 497 additions and 540 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.0] - 2021-01-09
* Generate Gitlab-compatible junit xml reports
* Specify name format for lists in test names
* Specify delimiter for lists in test names
* Specify file path for report output



7 changes: 4 additions & 3 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ let githubToken = Environment.environVarOrNone "GITHUB_TOKEN"
Option.iter(TraceSecrets.register "<GITHUB_TOKEN>" )


let nugetToken = Environment.environVarOrNone "NUGET_TOKEN"
Option.iter(TraceSecrets.register "<NUGET_TOKEN>")
let ``BD_NUGET_TOKEN`` = "BD_NUGET_TOKEN"
let nugetApiKey = Environment.environVarOrNone ``BD_NUGET_TOKEN``
nugetApiKey |> Option.iter (fun n -> TraceSecrets.register ``BD_NUGET_TOKEN`` n)

//-----------------------------------------------------------------------------
// Helpers
Expand Down Expand Up @@ -444,7 +445,7 @@ let runAltCover (ctx : TargetParameter) =
(string coverageThresholdPercent)
excludeCoverage
sln
"Debug"
(configuration (ctx.Context.AllExecutingTargets)).ToString()
]

let argsStr = args |> String.concat " "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ <h1><a href="index.htm">&lt;</a> Summary</h1>
</table>
<h1>File(s)</h1>
<p>No files found. This usually happens if a file isn&#39;t covered by a test or the class does not contain any sequence points (e.g. a class that only contains auto properties).</p>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 2:20:27 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 3:35:41 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<script type="text/javascript" src="class.js"></script>
</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ <h1><a href="index.htm">&lt;</a> Summary</h1>
</table>
<h1>File(s)</h1>
<p>No files found. This usually happens if a file isn&#39;t covered by a test or the class does not contain any sequence points (e.g. a class that only contains auto properties).</p>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 2:20:27 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 3:35:41 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<script type="text/javascript" src="class.js"></script>
</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ <h1><a href="index.htm">&lt;</a> Summary</h1>
</table>
<h1>File(s)</h1>
<p>No files found. This usually happens if a file isn&#39;t covered by a test or the class does not contain any sequence points (e.g. a class that only contains auto properties).</p>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 2:20:27 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 3:35:41 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<script type="text/javascript" src="class.js"></script>
</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ <h1><a href="index.htm">&lt;</a> Summary</h1>
</table>
<h1>File(s)</h1>
<p>No files found. This usually happens if a file isn&#39;t covered by a test or the class does not contain any sequence points (e.g. a class that only contains auto properties).</p>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 2:20:27 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 3:35:41 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div></div>
<script type="text/javascript" src="class.js"></script>
</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h2 id="UsersmaxpaigegitExpectoJunitTestLoggersrcBinaryDefenseJunitExpectoTestLo
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line100"></a><code>100</code></td><td></td><td class="lightgray"><code>&nbsp;&nbsp;&nbsp;&nbsp;}</code></td></tr>
</tbody>
</table>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 2:20:27 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 3:35:41 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div>
<div class="containerright">
<div class="containerrightfixed">
<h1>Methods/Properties</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ <h1><a href="index.htm">&lt;</a> Summary</h1>
<tr><th>Class:</th><td>BinaryDefense.Junit.Expecto.TestLogger.ParametersModule</td></tr>
<tr><th>Assembly:</th><td>BinaryDefense.Junit.Expecto.TestLogger</td></tr>
<tr><th>File(s):</th><td><a href="#UsersmaxpaigegitExpectoJunitTestLoggersrcBinaryDefenseJunitExpectoTestLoggerParametersfs" class="navigatetohash">/Users/maxpaige/git/ExpectoJunitTestLogger/src/BinaryDefense.Junit.Expecto.TestLogger/Parameters.fs</a></td></tr>
<tr><th>Covered lines:</th><td>11</td></tr>
<tr><th>Covered lines:</th><td>10</td></tr>
<tr><th>Uncovered lines:</th><td>7</td></tr>
<tr><th>Coverable lines:</th><td>18</td></tr>
<tr><th>Coverable lines:</th><td>17</td></tr>
<tr><th>Total lines:</th><td>100</td></tr>
<tr><th>Line coverage:</th><td>61.1% (11 of 18)</td></tr>
<tr><th>Line coverage:</th><td>58.8% (10 of 17)</td></tr>
<tr><th>Covered branches:</th><td>8</td></tr>
<tr><th>Total branches:</th><td>8</td></tr>
<tr><th>Branch coverage:</th><td>100% (8 of 8)</td></tr>
Expand Down Expand Up @@ -119,17 +119,17 @@ <h2 id="UsersmaxpaigegitExpectoJunitTestLoggersrcBinaryDefenseJunitExpectoTestLo
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line74"></a><code>74</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line75"></a><code>75</code></td><td></td><td class="lightgray"><code>&nbsp;&nbsp;///&nbsp;Given&nbsp;a&nbsp;possible&nbsp;user-entered&nbsp;value,&nbsp;construct&nbsp;a&nbsp;full&nbsp;file&nbsp;path.</code></td></tr>
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line76"></a><code>76</code></td><td></td><td class="lightgray"><code>&nbsp;&nbsp;let&nbsp;buildFilePath&nbsp;(filePathOption:&nbsp;string&nbsp;option)&nbsp;=</code></td></tr>
<tr class="coverableline" title="Covered (7 visits)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line77"></a><code>77</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;let&nbsp;filePathOption&nbsp;=</code></td></tr>
<tr class="coverableline" title="Covered (7 visits, 2 of 2 branches are covered)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line77"></a><code>77</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;let&nbsp;filePathOption&nbsp;=</code></td></tr>
<tr class="coverableline" title="Covered (7 visits)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line78"></a><code>78</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filePathOption</code></td></tr>
<tr class="coverableline" title="Covered (13 visits, 2 of 2 branches are covered)" data-coverage="{'AllTestMethods': {'VC': '13', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">13</td><td class="rightmargin right"><a id="file0_line79"></a><code>79</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&gt;&nbsp;Option.map&nbsp;(fun&nbsp;x&nbsp;-&gt;&nbsp;if&nbsp;(x.EndsWith&nbsp;&quot;.xml&quot;&nbsp;|&gt;&nbsp;not)&nbsp;then&nbsp;x&nbsp;+&nbsp;Constants.DefaultFileName&nbsp;else&nbsp;x)</code></td></tr>
<tr class="coverableline" title="Covered (10 visits)" data-coverage="{'AllTestMethods': {'VC': '10', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">10</td><td class="rightmargin right"><a id="file0_line80"></a><code>80</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&gt;&nbsp;Option.map&nbsp;System.IO.Path.GetFullPath</code></td></tr>
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line81"></a><code>81</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr class="coverableline" title="Covered (7 visits, 2 of 2 branches are covered)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line82"></a><code>82</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;match&nbsp;filePathOption&nbsp;with</code></td></tr>
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line82"></a><code>82</code></td><td></td><td class="lightgray"><code>&nbsp;&nbsp;&nbsp;&nbsp;match&nbsp;filePathOption&nbsp;with</code></td></tr>
<tr class="coverableline" title="Covered (3 visits)" data-coverage="{'AllTestMethods': {'VC': '3', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">3</td><td class="rightmargin right"><a id="file0_line83"></a><code>83</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;Some&nbsp;x&nbsp;-&gt;&nbsp;x</code></td></tr>
<tr class="coverableline" title="Covered (4 visits)" data-coverage="{'AllTestMethods': {'VC': '4', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">4</td><td class="rightmargin right"><a id="file0_line84"></a><code>84</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;None&nbsp;-&gt;&nbsp;System.IO.Path.GetFullPath(&quot;./&quot;&nbsp;+&nbsp;Constants.DefaultFileName)</code></td></tr>
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line85"></a><code>85</code></td><td></td><td class="lightgray"><code></code></td></tr>
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray">&nbsp;</td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line86"></a><code>86</code></td><td></td><td class="lightgray"><code>&nbsp;&nbsp;let&nbsp;getNameFormat&nbsp;(s&nbsp;:&nbsp;string)&nbsp;=</code></td></tr>
<tr class="coverableline" title="Covered (4 visits, 4 of 4 branches are covered)" data-coverage="{'AllTestMethods': {'VC': '4', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">4</td><td class="rightmargin right"><a id="file0_line87"></a><code>87</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;match&nbsp;s.ToLowerInvariant()&nbsp;with</code></td></tr>
<tr class="coverableline" title="Covered (7 visits, 4 of 4 branches are covered)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line87"></a><code>87</code></td><td class="percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;match&nbsp;s.ToLowerInvariant()&nbsp;with</code></td></tr>
<tr class="coverableline" title="Covered (1 visits)" data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line88"></a><code>88</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;Constants.RootListLI&nbsp;-&gt;&nbsp;NameFormat.RootList</code></td></tr>
<tr class="coverableline" title="Covered (1 visits)" data-coverage="{'AllTestMethods': {'VC': '1', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">1</td><td class="rightmargin right"><a id="file0_line89"></a><code>89</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;Constants.AllListsLI&nbsp;-&gt;&nbsp;NameFormat.AllLists</code></td></tr>
<tr class="coverableline" title="Covered (2 visits)" data-coverage="{'AllTestMethods': {'VC': '2', 'LVS': 'green'}}"><td class="green">&nbsp;</td><td class="leftmargin rightmargin right">2</td><td class="rightmargin right"><a id="file0_line90"></a><code>90</code></td><td></td><td class="lightgreen"><code>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;_&nbsp;-&gt;&nbsp;NameFormat.RootList</code></td></tr>
Expand All @@ -145,7 +145,7 @@ <h2 id="UsersmaxpaigegitExpectoJunitTestLoggersrcBinaryDefenseJunitExpectoTestLo
<tr class="coverableline" title="Not covered (0 visits)" data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red">&nbsp;</td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line100"></a><code>100</code></td><td></td><td class="lightred"><code>&nbsp;&nbsp;&nbsp;&nbsp;}</code></td></tr>
</tbody>
</table>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 2:20:27 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div>
<div class="footer">Generated by: ReportGenerator 4.2.15.0<br />1/8/21 - 3:35:41 PM<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="http://www.palmmedia.de">www.palmmedia.de</a></div></div>
<div class="containerright">
<div class="containerrightfixed">
<h1>Methods/Properties</h1>
Expand Down
Loading

0 comments on commit 04167b9

Please sign in to comment.