Skip to content

Commit

Permalink
Merge pull request #262 from CaptnCodr/feature/docs
Browse files Browse the repository at this point in the history
Update docs & update copyright for 2024.
  • Loading branch information
CaptnCodr authored Jan 11, 2024
2 parents 9f4a910 + cd8cddb commit 58ed0ce
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 30 deletions.
7 changes: 4 additions & 3 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
### 6.0.0.0-alpha2 - Dec 15, 2023
- Migrate to NUnit v4.
### 6.0.0.0 - Jan 11, 2024
- [BREAKING] FsUnit (NUnit v4 as dependency) drops netstandard2.0 as target framework.
- Update dependencies to MsTest v3.
- Migrate to NUnit v4. - (https://github.com/fsprojects/FsUnit/pull/259)
- Update dependencies to MsTest v3. - (https://github.com/fsprojects/FsUnit/pull/260)
- Update/Fix docs. - (https://github.com/fsprojects/FsUnit/pull/262)

### 5.6.1.0 - Nov 29, 2023
- Set NUnit dependency < 4.0.0 to prevent compatibility issues. - (https://github.com/fsprojects/FsUnit/pull/257)
Expand Down
4 changes: 2 additions & 2 deletions docs/FsUnitTyped.fsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use
// it to define helpers that you do not want to show in the documentation.
#r "../packages/NUnit/lib/netstandard2.0/nunit.framework.dll"
#r "../bin/FsUnit.NUnit/netstandard2.0/FsUnit.NUnit.dll"
#r "../packages/NUnit/lib/net6.0/nunit.framework.dll"
#r "../bin/FsUnit.NUnit/net6.0/FsUnit.NUnit.dll"

(**
What is FsUnitTyped?
Expand Down
2 changes: 1 addition & 1 deletion docs/MsTest.fsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use
// it to define helpers that you do not want to show in the documentation.
#r "../packages/MSTest.TestFramework/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll"
#r "../packages/MSTest.TestFramework/lib/netstandard2.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll"
#r "../packages/NHamcrest/lib/netstandard2.0/NHamcrest.dll"
#r "../bin/FsUnit.MsTest/netstandard2.0/FsUnit.MsTest.dll"

Expand Down
6 changes: 4 additions & 2 deletions docs/NUnit.fsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use
// it to define helpers that you do not want to show in the documentation.
#r "../packages/NUnit/lib/netstandard2.0/nunit.framework.dll"
#r "../bin/FsUnit.NUnit/netstandard2.0/FsUnit.NUnit.dll"
#r "../packages/NUnit/lib/net6.0/nunit.framework.dll"
#r "../bin/FsUnit.NUnit/net6.0/FsUnit.NUnit.dll"

open NUnit.Framework
(**
Expand Down Expand Up @@ -32,7 +32,9 @@ __SetUpFixture__
Add following piece of code to your assembly to register formatter for namespace or entire assembly
*)
open FsUnit
open NUnit.Framework

[<SetUpFixture>]
type InitMsgUtils() =
inherit FSharpCustomMessageFormatter()

Expand Down
2 changes: 1 addition & 1 deletion docs/_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h3 class="muted"><a href="./index.html">{{fsdocs-collection-name}}</a></h3>
</div>
</div>
</div>
<a href="https://github.com/fsprojects/FsUnit"> <img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"> </a>
<a href="https://github.com/fsprojects/FsUnit"> <img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"> </a>

<!-- BEGIN SEARCH BOX: this adds support for the search box -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/JavaScript-autoComplete/1.0.4/auto-complete.css" />
Expand Down
4 changes: 2 additions & 2 deletions docs/index.fsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use
// it to define helpers that you do not want to show in the documentation.
#r "../packages/NUnit/lib/netstandard2.0/nunit.framework.dll"
#r "../bin/FsUnit.NUnit/netstandard2.0/FsUnit.NUnit.dll"
#r "../packages/NUnit/lib/net6.0/nunit.framework.dll"
#r "../bin/FsUnit.NUnit/net6.0/FsUnit.NUnit.dll"

open FsUnit

Expand Down
8 changes: 4 additions & 4 deletions src/FsUnit.MsTestUnit/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("FsUnit.MsTest")>]
[<assembly: AssemblyProductAttribute("FsUnit")>]
[<assembly: AssemblyDescriptionAttribute("FsUnit is a set of libraries that makes unit-testing with F# more enjoyable.")>]
[<assembly: AssemblyVersionAttribute("5.6.1.0")>]
[<assembly: AssemblyFileVersionAttribute("5.6.1.0")>]
[<assembly: AssemblyVersionAttribute("6.0.0.0")>]
[<assembly: AssemblyFileVersionAttribute("6.0.0.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "FsUnit.MsTest"
let [<Literal>] AssemblyProduct = "FsUnit"
let [<Literal>] AssemblyDescription = "FsUnit is a set of libraries that makes unit-testing with F# more enjoyable."
let [<Literal>] AssemblyVersion = "5.6.1.0"
let [<Literal>] AssemblyFileVersion = "5.6.1.0"
let [<Literal>] AssemblyVersion = "6.0.0.0"
let [<Literal>] AssemblyFileVersion = "6.0.0.0"
4 changes: 3 additions & 1 deletion src/FsUnit.MsTestUnit/paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ projectUrl
https://github.com/fsprojects/FsUnit
iconUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/docs/img/logo.png
licenseExpression
MIT
licenseUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/license.txt
requireLicenseAcceptance
false
copyright
Copyright 2012-2023
Copyright 2012-2024
tags
F# fsharp MsTest FsUnit
summary
Expand Down
4 changes: 3 additions & 1 deletion src/FsUnit.MsTestUnit/sample.paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ projectUrl
https://github.com/fsprojects/FsUnit
iconUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/docs/img/logo.png
licenseExpression
MIT
licenseUrl
https://github.com/fsprojects/FsUnit/blob/master/license.txt
requireLicenseAcceptance
false
copyright
Copyright 2015-2023
Copyright 2015-2024
tags
F# fsharp MsTest FsUnit
summary
Expand Down
8 changes: 4 additions & 4 deletions src/FsUnit.NUnit/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("FsUnit.NUnit")>]
[<assembly: AssemblyProductAttribute("FsUnit")>]
[<assembly: AssemblyDescriptionAttribute("FsUnit is a set of libraries that makes unit-testing with F# more enjoyable.")>]
[<assembly: AssemblyVersionAttribute("5.6.1.0")>]
[<assembly: AssemblyFileVersionAttribute("5.6.1.0")>]
[<assembly: AssemblyVersionAttribute("6.0.0.0")>]
[<assembly: AssemblyFileVersionAttribute("6.0.0.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "FsUnit.NUnit"
let [<Literal>] AssemblyProduct = "FsUnit"
let [<Literal>] AssemblyDescription = "FsUnit is a set of libraries that makes unit-testing with F# more enjoyable."
let [<Literal>] AssemblyVersion = "5.6.1.0"
let [<Literal>] AssemblyFileVersion = "5.6.1.0"
let [<Literal>] AssemblyVersion = "6.0.0.0"
let [<Literal>] AssemblyFileVersion = "6.0.0.0"
2 changes: 1 addition & 1 deletion src/FsUnit.NUnit/FsUnit.NUnit.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>FsUnit.NUnit</AssemblyName>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
4 changes: 3 additions & 1 deletion src/FsUnit.NUnit/paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ projectUrl
https://github.com/fsprojects/FsUnit
iconUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/docs/img/logo.png
licenseExpression
MIT
licenseUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/license.txt
requireLicenseAcceptance
false
copyright
Copyright 2012-2023
Copyright 2012-2024
tags
F# fsharp NUnit FsUnit
summary
Expand Down
4 changes: 3 additions & 1 deletion src/FsUnit.NUnit/sample.paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ projectUrl
https://github.com/fsprojects/FsUnit
iconUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/docs/img/logo.png
licenseExpression
MIT
licenseUrl
https://github.com/fsprojects/FsUnit/blob/master/license.txt
requireLicenseAcceptance
false
copyright
Copyright 2015-2023
Copyright 2015-2024
tags
F# fsharp NUnit FsUnit
summary
Expand Down
8 changes: 4 additions & 4 deletions src/FsUnit.Xunit/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("FsUnit.Xunit")>]
[<assembly: AssemblyProductAttribute("FsUnit")>]
[<assembly: AssemblyDescriptionAttribute("FsUnit is a set of libraries that makes unit-testing with F# more enjoyable.")>]
[<assembly: AssemblyVersionAttribute("5.6.1.0")>]
[<assembly: AssemblyFileVersionAttribute("5.6.1.0")>]
[<assembly: AssemblyVersionAttribute("6.0.0.0")>]
[<assembly: AssemblyFileVersionAttribute("6.0.0.0")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "FsUnit.Xunit"
let [<Literal>] AssemblyProduct = "FsUnit"
let [<Literal>] AssemblyDescription = "FsUnit is a set of libraries that makes unit-testing with F# more enjoyable."
let [<Literal>] AssemblyVersion = "5.6.1.0"
let [<Literal>] AssemblyFileVersion = "5.6.1.0"
let [<Literal>] AssemblyVersion = "6.0.0.0"
let [<Literal>] AssemblyFileVersion = "6.0.0.0"
4 changes: 3 additions & 1 deletion src/FsUnit.Xunit/paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ projectUrl
https://github.com/fsprojects/FsUnit
iconUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/docs/img/logo.png
licenseExpression
MIT
licenseUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/license.txt
requireLicenseAcceptance
false
copyright
Copyright 2012-2023
Copyright 2012-2024
tags
F# fsharp xUnit FsUnit
summary
Expand Down
4 changes: 3 additions & 1 deletion src/FsUnit.Xunit/sample.paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ projectUrl
https://github.com/fsprojects/FsUnit
iconUrl
https://raw.githubusercontent.com/fsprojects/FsUnit/master/docs/img/logo.png
licenseExpression
MIT
licenseUrl
https://github.com/fsprojects/FsUnit/blob/master/license.txt
requireLicenseAcceptance
false
copyright
Copyright 2015-2023
Copyright 2015-2024
tags
F# fsharp xUnit FsUnit
summary
Expand Down

0 comments on commit 58ed0ce

Please sign in to comment.