It is exactly the problem I was trying to highlight in this thread: Challenges with `XCTAssert` in `swift-testing` and 3rd Party Libraries. It's hard to notice that the assertions you are invoking in your test methods are not being evaluated.
I wonder how to indicate that this method—assertMacroExpansion
—has to be used only in XCTest land, and this one—#expect
—only in swift-testing?
Shouldn't we go in the direction that one method will work in both lands?