Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
29f9d7a
added more f# tests
licon4812 May 21, 2025
4a44c66
Update Tests.fs
licon4812 May 21, 2025
b440fb2
Added CustomSkipAttribute to F# Example Test Project
licon4812 May 21, 2025
70cc7eb
reordered tests
licon4812 May 21, 2025
bc1a66d
Update Tests.fs
licon4812 May 21, 2025
487b66f
Updated FSharp Testing namespace
licon4812 May 21, 2025
141dbc6
Update Tests.fs
licon4812 May 21, 2025
880a6a6
Update Tests.fs
licon4812 May 21, 2025
1b4e6cb
Merge branch 'main' into f#-tests
licon4812 May 21, 2025
6667988
Merge remote-tracking branch 'upstream/main' into f#-tests
licon4812 May 21, 2025
0b35603
Update Tests.fs
licon4812 May 21, 2025
6e84232
Update Tests.fs
licon4812 May 21, 2025
ba26b75
Merge branch 'main' into f#-tests
licon4812 May 22, 2025
0def8b3
Merge branch 'main' into f#-tests
licon4812 May 22, 2025
d2d3f74
Added some more tests.
licon4812 May 22, 2025
a5687fb
more tests
licon4812 May 22, 2025
f99c22d
more tests
licon4812 May 22, 2025
5d2c17a
more tests
licon4812 May 22, 2025
d07b976
more tests
licon4812 May 22, 2025
6621332
more tests
licon4812 May 22, 2025
243842f
added fs file references to fsproj in TUnit.TestProject.FSharp.fsproj
licon4812 May 22, 2025
d1c62f0
Update DependencyInjectionClassConstructor.fs
licon4812 May 22, 2025
2ece1e0
Refactor UniqueBuilderContextsOnEnumerableDataGeneratorTests for clar…
licon4812 May 22, 2025
564b489
reorganised some tests in f# test project
licon4812 May 22, 2025
e029045
fixed some f# tests
licon4812 May 22, 2025
3d582e1
more tests
licon4812 May 23, 2025
d058616
small fixes
licon4812 May 23, 2025
cfcefe6
temp fix in F# tests project
licon4812 May 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more tests
  • Loading branch information
licon4812 committed May 22, 2025
commit f99c22dab54c82c0cc4f35040a2e0b7989c65d96
12 changes: 12 additions & 0 deletions TUnit.TestProject.FSharp/TestClassWithTestCaseSource.fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace TUnit.TestProject.FSharp

open System.Threading.Tasks
open TUnit.Core

// Equivalent of TestClassWithTestCaseSource.cs

type TestClassWithTestCaseSource() =
[<TestCaseSource("TestCases")>]
member _.Test(x: int) = ()

static member TestCases = [| 1; 2; 3 |]
12 changes: 12 additions & 0 deletions TUnit.TestProject.FSharp/TestClassWithTestCaseSourceField.fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace TUnit.TestProject.FSharp

open System.Threading.Tasks
open TUnit.Core

// Equivalent of TestClassWithTestCaseSourceField.cs

type TestClassWithTestCaseSourceField() =
[<TestCaseSource("TestCases")>]
member _.Test(x: int) = ()

static member val TestCases = [| 1; 2; 3 |] with get, set
12 changes: 12 additions & 0 deletions TUnit.TestProject.FSharp/TestClassWithTestCaseSourceMethod.fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace TUnit.TestProject.FSharp

open System.Threading.Tasks
open TUnit.Core

// Equivalent of TestClassWithTestCaseSourceMethod.cs

type TestClassWithTestCaseSourceMethod() =
[<TestCaseSource("GetTestCases")>]
member _.Test(x: int) = ()

static member GetTestCases() = [| 1; 2; 3 |]
12 changes: 12 additions & 0 deletions TUnit.TestProject.FSharp/TestClassWithTestCaseSourceProperty.fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace TUnit.TestProject.FSharp

open System.Threading.Tasks
open TUnit.Core

// Equivalent of TestClassWithTestCaseSourceProperty.cs

type TestClassWithTestCaseSourceProperty() =
[<TestCaseSource("TestCases")>]
member _.Test(x: int) = ()

static member TestCases = [| 1; 2; 3 |]
12 changes: 12 additions & 0 deletions TUnit.TestProject.FSharp/TestClassWithTestCaseSourceStaticField.fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace TUnit.TestProject.FSharp

open System.Threading.Tasks
open TUnit.Core

// Equivalent of TestClassWithTestCaseSourceStaticField.cs

type TestClassWithTestCaseSourceStaticField() =
[<TestCaseSource("TestCases")>]
member _.Test(x: int) = ()

static member val TestCases = [| 1; 2; 3 |] with get, set
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace TUnit.TestProject.FSharp

open System.Threading.Tasks
open TUnit.Core

// Equivalent of TestClassWithTestCaseSourceStaticMethod.cs

type TestClassWithTestCaseSourceStaticMethod() =
[<TestCaseSource("GetTestCases")>]
member _.Test(x: int) = ()

static member GetTestCases() = [| 1; 2; 3 |]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace TUnit.TestProject.FSharp

open System.Threading.Tasks
open TUnit.Core

// Equivalent of TestClassWithTestCaseSourceStaticProperty.cs

type TestClassWithTestCaseSourceStaticProperty() =
[<TestCaseSource("TestCases")>]
member _.Test(x: int) = ()

static member TestCases = [| 1; 2; 3 |]