Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix test irregularities #968

Merged
merged 1 commit into from Sep 1, 2023

Conversation

DaveTryon
Copy link
Contributor

Details

Similar to microsoft/accessibility-insights-windows#1687, there are some irregularities in our test decorators. This PR is made up of the following global search & replace operations:

  • [TestClass()] becomes [TestClass]
  • [TestMethod()] becomes [TestMethod]

The extra parentheses on the decorators don't break anything, but they are non-standard and don't add any value. I've confirmed that all unit tests run as expected.

Motivation

Code consistency

Context

Pull request checklist

  • Addresses an existing issue: #0000

@DaveTryon DaveTryon requested a review from a team as a code owner August 31, 2023 22:28
@codecov-commenter
Copy link

Codecov Report

Merging #968 (98cb5c9) into main (4fc19c3) will increase coverage by 1.12%.
Report is 344 commits behind head on main.
The diff coverage is 79.02%.

❗ Current head 98cb5c9 differs from pull request most recent head 5b87cb5. Consider uploading reports for the commit 5b87cb5 to get more accurate results

@@            Coverage Diff             @@
##             main     #968      +/-   ##
==========================================
+ Coverage   73.70%   74.82%   +1.12%     
==========================================
  Files         398      423      +25     
  Lines       12046    13093    +1047     
==========================================
+ Hits         8878     9797     +919     
- Misses       3168     3296     +128     
Files Changed Coverage Δ
src/Actions/Actions/ControlPatternAction.cs 0.00% <0.00%> (ø)
src/Actions/Actions/CustomUIAAction.cs 0.00% <0.00%> (ø)
src/Actions/Actions/ListenAction.cs 0.00% <0.00%> (ø)
src/Actions/Actions/PrivacyExtensions.cs 100.00% <ø> (ø)
src/Actions/Actions/SetDataAction.cs 0.00% <0.00%> (ø)
...rc/Actions/Attributes/InteractionLevelAttribute.cs 0.00% <0.00%> (ø)
src/Actions/Misc/ExtensionMethods.cs 7.46% <0.00%> (-31.60%) ⬇️
src/Actions/Resources/ErrorMessages.Designer.cs 0.00% <ø> (-55.56%) ⬇️
src/Automation/AxeWindowsAutomationException.cs 33.33% <ø> (-33.34%) ⬇️
src/Automation/Data/OutputFile.cs 88.88% <ø> (ø)
... and 143 more

... and 242 files with indirect coverage changes

@codeofdusk codeofdusk changed the title chore: Fix test irregularites chore: Fix test irregularities Sep 1, 2023
@DaveTryon DaveTryon merged commit 9d39376 into microsoft:main Sep 1, 2023
5 checks passed
@DaveTryon DaveTryon deleted the fix-test-irregularities branch September 1, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants