Automated accessibility testing engine for Windows applications
Перейти к файлу
dependabot[bot] 578a8070f8
chore(deps): Bump MSTest.TestAdapter and MSTest.TestFramework to 3.6.1 in /src (#1058)
Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from
3.5.2 to 3.6.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/testfx/releases">MSTest.TestAdapter's
releases</a>.</em></p>
<blockquote>
<h2>v3.6.1</h2>
<p>See the release notes <a
href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.6.1">here</a></p>
<h2>v3.6.0</h2>
<p>See the release notes <a
href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.6.0">here</a></p>
<p>Special shoutout to <a
href="https://github.com/SimonCropp"><code>@​SimonCropp</code></a> for
his exceptional contribution in improving the quality of the
repository.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md">MSTest.TestAdapter's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->[3.6.1] - 2024-10-03</h2>
<p>See full log <a
href="https://github.com/microsoft/testfx/compare/v3.6.0...v3.6.1">here</a></p>
<h3>Fixed</h3>
<ul>
<li>MSTEST0016: Fix typo in rule message and description by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3808">#3808</a></li>
<li>MSTEST0018: fix false positive with data member visibility by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3866">#3866</a></li>
<li>Fix MSTEST0036 is shown for cases where no shadowing happens by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> <a
href="https://redirect.github.com/microsoft/testfx/pull/3881">#3881</a></li>
<li>Bump VSTest to v17.11.1 by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a></li>
<li>Fix MSTest hook to be always generated by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3889">#3889</a></li>
<li>Fix CollectionAssert.AreEqual fails for list of strings using
IEqualityComparer following by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3886">#3886</a></li>
<li>Fix CollectionAssert.AreEqual for collection of collections ignores
even-items by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3893">#3893</a></li>
</ul>
<h3>Artifacts</h3>
<ul>
<li>MSTest: <a
href="https://www.nuget.org/packages/MSTest/3.6.1">3.6.1</a></li>
<li>MSTest.TestFramework: <a
href="https://www.nuget.org/packages/MSTest.TestFramework/3.6.1">3.6.1</a></li>
<li>MSTest.TestAdapter: <a
href="https://www.nuget.org/packages/MSTest.TestAdapter/3.6.1">3.6.1</a></li>
<li>MSTest.Analyzers: <a
href="https://www.nuget.org/packages/MSTest.Analyzers/3.6.1">3.6.1</a></li>
<li>MSTest.Sdk: <a
href="https://www.nuget.org/packages/MSTest.Sdk/3.6.1">3.6.1</a></li>
<li>Microsoft.Testing.Extensions.CrashDump: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.HangDump: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.HotReload: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.Retry: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.TrxReport: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport/1.4.1">1.4.1</a></li>
</ul>
<h2><!-- raw HTML omitted -->[3.6.0] - 2024-09-11</h2>
<p>See full log <a
href="https://github.com/microsoft/testfx/compare/v3.5.2...v3.6.0">here</a></p>
<h3>Added</h3>
<ul>
<li>Feat: Add code suppressor for CS8618 on TestContext property by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3271">#3271</a></li>
<li>Feature: add support for injecting TestContext in ctor by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3267">#3267</a></li>
<li>Feat: Add <code>[STATestClass]</code> by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3278">#3278</a></li>
<li>Feat: Add [STATestMethod] by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3286">#3286</a></li>
<li>Feat: add support for overloaded parameterized tests by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3298">#3298</a></li>
<li>Improve display name for DynamicDataAttribute by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3293">#3293</a></li>
<li>Feat: allow cooperative timeout by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3314">#3314</a></li>
<li>MSTEST0010: report when class is abstract and inheritance is not set
by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3347">#3347</a></li>
<li>MSTEST0011: report when class is abstract and inheritance is not
specified by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3352">#3352</a></li>
<li>MSTEST0010: report if InheritanceBehavior.BeforeEachDerivedClass is
set on a sealed class by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3369">#3369</a></li>
<li>MSTEST0011: report if InheritanceBehavior.BeforeEachDerivedClass is
set on a sealed class by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3370">#3370</a></li>
<li>MSTEST0018: DynamicData usage should be valid by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3374">#3374</a></li>
<li>Add analyzer for DeploymentItem by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3387">#3387</a></li>
<li>MSTEST0004: Add code fix by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3482">#3482</a></li>
<li>MSTEST0003: Add code fix by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3493">#3493</a></li>
<li>Warn on invalid DisableParallelization configuration entry by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3526">#3526</a></li>
<li>MSTEST0007: Add code fix by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3540">#3540</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1204ea124e"><code>1204ea1</code></a>
Use TA 1.4.1</li>
<li><a
href="e6cc8fcb35"><code>e6cc8fc</code></a>
[rel/3.6] Update dependencies from microsoft/testanywhere (<a
href="https://redirect.github.com/microsoft/testfx/issues/3905">#3905</a>)</li>
<li><a
href="4f4ed7d3ce"><code>4f4ed7d</code></a>
[rel/3.6] Update dependencies from microsoft/testanywhere (<a
href="https://redirect.github.com/microsoft/testfx/issues/3901">#3901</a>)</li>
<li><a
href="6d9c5eadeb"><code>6d9c5ea</code></a>
Fix CollectionAssert.AreEqual for collection of collections ignores
even-item...</li>
<li><a
href="5917c99d93"><code>5917c99</code></a>
Fix SelfRegisteredExtensions type to be internal (<a
href="https://redirect.github.com/microsoft/testfx/issues/3891">#3891</a>)</li>
<li><a
href="36338bd1fd"><code>36338bd</code></a>
Fix CollectionAssert.AreEqual fails for list of strings using
IEqualityCompar...</li>
<li><a
href="50707f7d80"><code>50707f7</code></a>
Fix MSTest hook to be always generated (<a
href="https://redirect.github.com/microsoft/testfx/issues/3889">#3889</a>)</li>
<li><a
href="6da3be7bf1"><code>6da3be7</code></a>
Bump VSTest tov17.11.1</li>
<li><a
href="491b2d6293"><code>491b2d6</code></a>
Fix MSTEST0036 is shown for cases where no shadowing happens (<a
href="https://redirect.github.com/microsoft/testfx/issues/3881">#3881</a>)</li>
<li><a
href="8d3545b8f8"><code>8d3545b</code></a>
[rel/3.6] Update dependencies from microsoft/testanywhere (<a
href="https://redirect.github.com/microsoft/testfx/issues/3885">#3885</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/testfx/compare/v3.5.2...v3.6.1">compare
view</a></li>
</ul>
</details>
<br />

Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from
3.6.0 to 3.6.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/testfx/releases">MSTest.TestFramework's
releases</a>.</em></p>
<blockquote>
<h2>v3.6.1</h2>
<p>See the release notes <a
href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.6.1">here</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md">MSTest.TestFramework's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->[3.6.1] - 2024-10-03</h2>
<p>See full log <a
href="https://github.com/microsoft/testfx/compare/v3.6.0...v3.6.1">here</a></p>
<h3>Fixed</h3>
<ul>
<li>MSTEST0016: Fix typo in rule message and description by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3808">#3808</a></li>
<li>MSTEST0018: fix false positive with data member visibility by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3866">#3866</a></li>
<li>Fix MSTEST0036 is shown for cases where no shadowing happens by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> <a
href="https://redirect.github.com/microsoft/testfx/pull/3881">#3881</a></li>
<li>Bump VSTest to v17.11.1 by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a></li>
<li>Fix MSTest hook to be always generated by <a
href="https://github.com/Evangelink"><code>@​Evangelink</code></a> in <a
href="https://redirect.github.com/microsoft/testfx/pull/3889">#3889</a></li>
<li>Fix CollectionAssert.AreEqual fails for list of strings using
IEqualityComparer following by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3886">#3886</a></li>
<li>Fix CollectionAssert.AreEqual for collection of collections ignores
even-items by <a
href="https://github.com/engyebrahim"><code>@​engyebrahim</code></a> in
<a
href="https://redirect.github.com/microsoft/testfx/pull/3893">#3893</a></li>
</ul>
<h3>Artifacts</h3>
<ul>
<li>MSTest: <a
href="https://www.nuget.org/packages/MSTest/3.6.1">3.6.1</a></li>
<li>MSTest.TestFramework: <a
href="https://www.nuget.org/packages/MSTest.TestFramework/3.6.1">3.6.1</a></li>
<li>MSTest.TestAdapter: <a
href="https://www.nuget.org/packages/MSTest.TestAdapter/3.6.1">3.6.1</a></li>
<li>MSTest.Analyzers: <a
href="https://www.nuget.org/packages/MSTest.Analyzers/3.6.1">3.6.1</a></li>
<li>MSTest.Sdk: <a
href="https://www.nuget.org/packages/MSTest.Sdk/3.6.1">3.6.1</a></li>
<li>Microsoft.Testing.Extensions.CrashDump: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.HangDump: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.HotReload: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.Retry: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry/1.4.1">1.4.1</a></li>
<li>Microsoft.Testing.Extensions.TrxReport: <a
href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport/1.4.1">1.4.1</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1204ea124e"><code>1204ea1</code></a>
Use TA 1.4.1</li>
<li><a
href="e6cc8fcb35"><code>e6cc8fc</code></a>
[rel/3.6] Update dependencies from microsoft/testanywhere (<a
href="https://redirect.github.com/microsoft/testfx/issues/3905">#3905</a>)</li>
<li><a
href="4f4ed7d3ce"><code>4f4ed7d</code></a>
[rel/3.6] Update dependencies from microsoft/testanywhere (<a
href="https://redirect.github.com/microsoft/testfx/issues/3901">#3901</a>)</li>
<li><a
href="6d9c5eadeb"><code>6d9c5ea</code></a>
Fix CollectionAssert.AreEqual for collection of collections ignores
even-item...</li>
<li><a
href="5917c99d93"><code>5917c99</code></a>
Fix SelfRegisteredExtensions type to be internal (<a
href="https://redirect.github.com/microsoft/testfx/issues/3891">#3891</a>)</li>
<li><a
href="36338bd1fd"><code>36338bd</code></a>
Fix CollectionAssert.AreEqual fails for list of strings using
IEqualityCompar...</li>
<li><a
href="50707f7d80"><code>50707f7</code></a>
Fix MSTest hook to be always generated (<a
href="https://redirect.github.com/microsoft/testfx/issues/3889">#3889</a>)</li>
<li><a
href="6da3be7bf1"><code>6da3be7</code></a>
Bump VSTest tov17.11.1</li>
<li><a
href="491b2d6293"><code>491b2d6</code></a>
Fix MSTEST0036 is shown for cases where no shadowing happens (<a
href="https://redirect.github.com/microsoft/testfx/issues/3881">#3881</a>)</li>
<li><a
href="8d3545b8f8"><code>8d3545b</code></a>
[rel/3.6] Update dependencies from microsoft/testanywhere (<a
href="https://redirect.github.com/microsoft/testfx/issues/3885">#3885</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/testfx/compare/v3.6.0...v3.6.1">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=MSTest.TestAdapter&package-manager=nuget&previous-version=3.5.2&new-version=3.6.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: v-sharmachir <v-sharmachir@microsoft.com>
2024-11-05 12:28:40 -05:00
.github
brand
build
docs
keys
src chore(deps): Bump MSTest.TestAdapter and MSTest.TestFramework to 3.6.1 in /src (#1058) 2024-11-05 12:28:40 -05:00
tools
.gitattributes
.gitignore
CODE_OF_CONDUCT.md
Contributing.md
LICENSE
README.md
SECURITY.md
thirdpartynotices.html

README.md

Overview

Axe.Windows is a NuGet package for running automated accessibility tests on Windows® applications.

To get the latest version of the Axe.Windows NuGet package, visit Axe.Windows on NuGet.org.

How to run automated accessibility tests

  1. Create a Config object using Config.Builder.

     // Create config to specifically target a process
     var myConfigBuilder = Config.Builder.ForProcessId(1234);
    
     // Optional: configure to create an A11yTest file
     myConfigBuilder.WithOutputFileFormat(OutputFileFormat.A11yTest);
    
     // Optional: configure to output the file to a specific directory (otherwise, current directory will be used)
     myConfigBuilder.WithOutputDirectory(".\test-directory");
    
     // Ready to use config
     var myConfig = myConfigBuilder.build();
    
  2. Create a Scanner object using the ScannerFactory object with the Config.

     // Create scanner using myConfig
     var scanner = ScannerFactory.CreateScanner(myConfig);
    
  3. Call the Scan or ScanAsync method on the Scanner object, to scan synchronously or asynchronously respectively.

     var scanOutput = scanner.Scan(null); // Synchronously scan with default options.
    
  4. Check the output.

     Console.WriteLine("Number of errors found in scan of first top-level window: " + scanOutput.WindowScanOutputs.first().ErrorCount);
    
  • Use an automation test framework like UI Automation or WinAppDriver to manipulate your application
  • Scan your application as many times as you need to
  • Axe.Windows returns results with each scan and can optionally save each scan's results to an a11ytest file you can open with Accessibility Insights

For more details and a complete code example, please visit the automation reference page

Command line interface

Axe.Windows also has a command line interface (CLI) to simplify automated testing in build pipelines. Please check out the command line interface readme for more information.

Contributing

All contributions are welcome! Please read through our guidelines on contributions to this project.

For instructions on how to build the code, please visit building the code.

For an overview of the solution, please visit the solution overview.

More information

Visit the Overview of Axe.Windows page.

Data/Telemetry

Axe.Windows does not collect any telemetry on its own. However, the package does provide telemetric data for use by calling applications. Please see the Telemetry page for more details.

Reporting security vulnerabilities

If you believe you have found a security vulnerability in this project, please follow these steps to report it. For more information on how vulnerabilities are disclosed, see Coordinated Vulnerability Disclosure.

FAQ

Please visit our FAQ section to get answers to common questions.