From 28d8357cb02c4cee1611cbcb97957785460ee73e Mon Sep 17 00:00:00 2001 From: Petr Date: Fri, 18 Nov 2022 11:15:48 +0100 Subject: [PATCH] Update scripts and docs --- TESTGUIDE.md | 9 +++++---- eng/Build.ps1 | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/TESTGUIDE.md b/TESTGUIDE.md index 91a28af528a..9eeaa90ead4 100644 --- a/TESTGUIDE.md +++ b/TESTGUIDE.md @@ -106,8 +106,9 @@ The F# tests are split as follows: * [FSharp.Compiler.ComponentTests](tests/FSharp.Compiler.ComponentTests) - Validation of compiler APIs. -* [VisualFSharp.UnitTests](vsintegration/tests/unittests) - Visual F# Tools IDE Unit Test Suite - This suite exercises a wide range of behaviors in the F# Visual Studio project system and language service. +* [VisualFSharp.UnitTests](vsintegration/tests/unittests) - Validation of a wide range of behaviors in the F# Visual Studio project system and language service (including the legacy one). + +* [FSharp.Editor.Tests](vsintegration/tests/FSharp.Editor.Tests) - Visual F# Tools IDE Test Suite. ### FSharp Suite @@ -148,9 +149,9 @@ Tags are in the left column, paths to to corresponding test folders are in the r If you want to re-run a particular test area, the easiest way to do so is to set a temporary tag for that area in test.lst (e.g. "RERUN") and adjust `ttags` [run.fsharpqa.test.fsx script](tests/fsharpqa/run.fsharpqa.test.fsx) and run it. -### FSharp.Compiler.UnitTests, FSharp.Core.UnitTests, VisualFSharp.UnitTests +### FSharp.Compiler.UnitTests, FSharp.Core.UnitTests, VisualFSharp.UnitTests, FSharp.Editor.Tests -These are all NUnit tests. You can execute these tests individually via the Visual Studio NUnit3 runner +These are all currently NUnit tests (we hope to migrate them to xUnit). You can execute these tests individually via the Visual Studio NUnit3 runner extension or the command line via `nunit3-console.exe`. Note that for compatibility reasons, the IDE unit tests should be run in a 32-bit process, diff --git a/eng/Build.ps1 b/eng/Build.ps1 index c2d58455868..98a71be0b07 100644 --- a/eng/Build.ps1 +++ b/eng/Build.ps1 @@ -592,6 +592,7 @@ try { if ($testVs -and -not $noVisualStudio) { TestUsingNUnit -testProject "$RepoRoot\vsintegration\tests\UnitTests\VisualFSharp.UnitTests.fsproj" -targetFramework $desktopTargetFramework -testadapterpath "$ArtifactsDir\bin\VisualFSharp.UnitTests\" + TestUsingNUnit -testProject "$RepoRoot\vsintegration\tests\FSharp.Editor.Tests\FSharp.Editor.Tests.fsproj" -targetFramework $desktopTargetFramework -testadapterpath "$ArtifactsDir\bin\FSharp.Editor.Tests\FSharp.Editor.Tests.fsproj" } # verify nupkgs have access to the source code