Skip to content

Instantly share code, notes, and snippets.

# @note Instead of commenting out a test or using skip_test(), use this!
#
# Tells an assert that it's supposed to fail due to a product bug, an
# undelivered feature, or some similar situation.
#
# This converts failing asserts into passing asserts (so we can continue to
# run the test even though there are underlying product bugs), and converts
# passing asserts into failing asserts (so we know when the underlying product
# bug has been fixed).
#