Skip to content

Commit

Permalink
Update MTP wording from Microsoft Test Platform to Microsoft.Testing.…
Browse files Browse the repository at this point in the history
…Platform (#1018)

* Update MTP wording from Microsoft Test Platform to Microsoft.Testing.Platform

* Remove 'en-us' from Microsoft links 7ef9d26
  • Loading branch information
SeanKilleen committed Feb 10, 2025
1 parent c2e491c commit 9bdea37
Show file tree
Hide file tree
Showing 3 changed files with 719 additions and 719 deletions.
18 changes: 9 additions & 9 deletions articles/vs-test-adapter/NUnit-And-Microsoft-Test-Platform.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
gtag('config', 'G-PCB5BYBNM2');
</script>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>NUnit and Microsoft Test Platform | NUnit Docs </title>
<title>NUnit and Microsoft.Testing.Platform | NUnit Docs </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="NUnit and Microsoft Test Platform | NUnit Docs ">
<meta name="title" content="NUnit and Microsoft.Testing.Platform | NUnit Docs ">


<link rel="shortcut icon" href="../../favicon.ico">
Expand Down Expand Up @@ -84,10 +84,10 @@
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="">
<h1 id="nunit-and-microsoft-test-platform">NUnit and Microsoft Test Platform</h1>
<h1 id="nunit-and-microsofttestingplatform">NUnit and Microsoft.Testing.Platform</h1>

<h2 id="overview">Overview</h2>
<p>Microsoft Test Platform (MTP) is the new platform for testing from Microsoft. Test projects can be run as executables,
<p>Microsoft.Testing.Platform (MTP) is the new platform for testing from Microsoft. Test projects can be run as executables,
as with <a href="../nunit/running-tests/NUnitLite-Runner.html">NUnitLite</a> currently. There is no longer a test runner; the
executable <em>is</em> the test runner.</p>
<p>It will take time to develop feature parity with NUnit's current system, and there are many historical factors to
Expand All @@ -109,13 +109,13 @@ <h2 id="switching-from-vstest-to-dotnet-test">Switching from VSTest to dotnet te
<p>You can switch between <code>VSTest</code> and <code>dotnet test</code> using a property in your csproj (or Directory.Build.props):</p>
<pre><code class="lang-xml"> &lt;TestingPlatformDotnetTestSupport&gt;true&lt;/TestingPlatformDotnetTestSupport&gt;
</code></pre>
<p>See <a href="https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-integration-dotnet-test#dotnet-test---microsofttestingplatform-mode">this article</a>
<p>See <a href="https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-integration-dotnet-test#dotnet-test---microsofttestingplatform-mode">this article</a>
for more information.</p>
<h2 id="information-on-the-microsoft-test-platform">Information on the Microsoft Test Platform</h2>
<h2 id="information-on-the-microsofttestingplatform">Information on the Microsoft.Testing.Platform</h2>
<ul>
<li><a href="https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-intro?tabs=dotnetcli">Microsoft Test Platform</a></li>
<li><a href="https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-integration-dotnet-test">Use Microsoft.Testing.Platform with dotnet test</a></li>
<li><a href="https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-architecture">Microsoft Test Platform Architecture</a></li>
<li><a href="https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-intro">Microsoft.Testing.Platform</a></li>
<li><a href="https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-integration-dotnet-test">Use Microsoft.Testing.Platform with dotnet test</a></li>
<li><a href="https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-architecture">Microsoft.Testing.Platform Architecture</a></li>
<li><a href="https://github.com/nunit/nunit3-vs-adapter.issues/tree/master/Issue1152">NUnit Samples</a></li>
<li><a href="https://github.com/nunit/nunit3-vs-adapter/issues/1152">Adapter issue for implementing MTP</a></li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3491,8 +3491,8 @@
},
"articles/vs-test-adapter/NUnit-And-Microsoft-Test-Platform.html": {
"href": "articles/vs-test-adapter/NUnit-And-Microsoft-Test-Platform.html",
"title": "NUnit and Microsoft Test Platform | NUnit Docs",
"keywords": "NUnit and Microsoft Test Platform Overview Microsoft Test Platform (MTP) is the new platform for testing from Microsoft. Test projects can be run as executables, as with NUnitLite currently. There is no longer a test runner; the executable is the test runner. It will take time to develop feature parity with NUnit's current system, and there are many historical factors to consider. But, the NUnit team recognizes that in the meantime, there needs to be a bridge between these two. In NUnit, the NUnit3TestAdapter contains what is necessary to run the MTP using the existing test runners. This means we have two modes of MTP operation: either use the new platform but not as an executable, or use it as an executable too. Changing a Project to Use MTP To change a current test project to use MTP, you need to use version 5.0 or greater of the NUnit3TestAdapter. Note that this version can run both with and without MTP, and you can easily switch between them by setting two project properties. In a property group (use the top-level one), add the following two properties: <EnableNUnitRunner>true</EnableNUnitRunner> <OutputType>Exe</OutputType> The first property, EnableNUnitRunner, enables the MTP. The second enables it to also run as an executable (but it doesn't prevent you from using it in Test Explorer or through dotnet test. Switching from VSTest to dotnet test You can switch between VSTest and dotnet test using a property in your csproj (or Directory.Build.props): <TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport> See this article for more information. Information on the Microsoft Test Platform Microsoft Test Platform Use Microsoft.Testing.Platform with dotnet test Microsoft Test Platform Architecture NUnit Samples Adapter issue for implementing MTP"
"title": "NUnit and Microsoft.Testing.Platform | NUnit Docs",
"keywords": "NUnit and Microsoft.Testing.Platform Overview Microsoft.Testing.Platform (MTP) is the new platform for testing from Microsoft. Test projects can be run as executables, as with NUnitLite currently. There is no longer a test runner; the executable is the test runner. It will take time to develop feature parity with NUnit's current system, and there are many historical factors to consider. But, the NUnit team recognizes that in the meantime, there needs to be a bridge between these two. In NUnit, the NUnit3TestAdapter contains what is necessary to run the MTP using the existing test runners. This means we have two modes of MTP operation: either use the new platform but not as an executable, or use it as an executable too. Changing a Project to Use MTP To change a current test project to use MTP, you need to use version 5.0 or greater of the NUnit3TestAdapter. Note that this version can run both with and without MTP, and you can easily switch between them by setting two project properties. In a property group (use the top-level one), add the following two properties: <EnableNUnitRunner>true</EnableNUnitRunner> <OutputType>Exe</OutputType> The first property, EnableNUnitRunner, enables the MTP. The second enables it to also run as an executable (but it doesn't prevent you from using it in Test Explorer or through dotnet test. Switching from VSTest to dotnet test You can switch between VSTest and dotnet test using a property in your csproj (or Directory.Build.props): <TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport> See this article for more information. Information on the Microsoft.Testing.Platform Microsoft.Testing.Platform Use Microsoft.Testing.Platform with dotnet test Microsoft.Testing.Platform Architecture NUnit Samples Adapter issue for implementing MTP"
},
"articles/vs-test-adapter/Resources.html": {
"href": "articles/vs-test-adapter/Resources.html",
Expand Down
Loading

0 comments on commit 9bdea37

Please sign in to comment.