Migrate VisualFSharp tests to Xunit by psfinaki · Pull Request #17751 · dotnet/fsharp · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 0 additions & 8 deletions TESTGUIDE.md
7 changes: 0 additions & 7 deletions vsintegration/tests/UnitTests/AssemblyResolver.fs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace Microsoft.VisualStudio.FSharp

open NUnit.Framework
open System
open System.IO
open System.Reflection
Expand Down Expand Up @@ -46,9 +45,3 @@ module AssemblyResolver =
match found() with
| None -> Unchecked.defaultof<Assembly>
| Some name -> Assembly.Load(name) )

[<SetUpFixture>]
type public AssemblyResolverTestFixture () =

[<OneTimeSetUp>]
Comment thread
psfinaki marked this conversation as resolved.
member public _.Init () = AssemblyResolver.addResolver ()
9 changes: 3 additions & 6 deletions vsintegration/tests/UnitTests/DocCommentIdParserTests.fs
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
[<NUnit.Framework.TestFixture>]

module Tests.ServiceAnalysis.DocCommentIdParser

open NUnit.Framework
open Xunit
open Microsoft.VisualStudio.FSharp.Editor




[<Test>]
[<Fact>]
let ``Test DocCommentId parser``() =
let testData = dict [
"T:N.X.Nested", DocCommentId.Type ["N"; "X"; "Nested"];
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading