You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI: replace individual test exclusions with TestCategory-based filtering
Replace the 18-line list of individual Name!= and FullyQualifiedName!~
exclusions in the CI workflow with two TestCategory filters:
- TestCategory!=OpenBugs (global, all platforms)
- TestCategory!=WindowsOnly (Linux/macOS only)
This means adding new bug reproduction tests or platform-specific tests
only requires adding [TestCategory("OpenBugs")] or [TestCategory("WindowsOnly")]
to the test class or method — no CI workflow changes needed.
Classes tagged [TestCategory("OpenBugs")]:
- OpenBugs (38 tests)
- OpenBugsBitmap (11 tests, also WindowsOnly)
- NpAnyTest (np.any with axis is buggy)
- np_all_axis_Test (np.all with axis is buggy)
- Issue448
Individual methods tagged [TestCategory("OpenBugs")] in NDArray.Indexing.Test.cs:
MaskSetter, Compare, Masking_2D_over_3D, Combining_IndexArrays_with_Slices,
Combining_MaskArrays_with_Slices, IndexNDArray_Get_Case7,
IndexNDArray_Get_Case7_Broadcasted, IndexNDArray_Get_Case8_Broadcasted,
IndexNDArray_Set_Case2/3/4, IndexNDArray_Set_Case8_Broadcasted,
IndexNDArray_sliced3dreshaped_indexed_by_1d_1d
Classes tagged [TestCategory("WindowsOnly")]:
- BitmapWithAlphaTests
- BitmapExtensionsTests
- OpenBugsBitmap
Removed [ClassInitialize] RequireWindows guards from Bitmap test classes
since the category filter handles platform exclusion at the CI level.
Verified: 0 failures with both filter combinations:
TestCategory!=OpenBugs → 1636 passed
TestCategory!=OpenBugs & TestCategory!=WindowsOnly → 1572 passed
0 commit comments