Closed renormalist closed 6 months ago
Please note that while although they are technically independent this assumes https://github.com/Test-More/test-more/pull/926 to be in but I wanted to keep them discussed independently for their different visibility: #926 is not an api change, while #927 is a user-visible api extension.
I have reverted this for now because Test::Moose::More has enough things that depend on it that I am not willing to break it. If @rsrchboy merges my PR and releases the fix, I will unrevert this and release. This is the only thing blocking this.
Allow to specify which test name got skipped. This can be the exact name of a test when skipping only 1 test or a hint about which group of multiple tests is skippped.
That allows to provide a hint in the printed TAP about the skipped test, especially when the skip reason is too generic or re-used multiple times.
The name is just passed through to the test builder which takes care of handling it, in particular potential undefined values, which is important for backwards compatibility.