Changes for version 0.03 - 2016-10-17

  • Add the $SIG{__WARN__} hook in an INIT block. We really don't want to trigger this because of a compile-time warning, and because of a bug in Test::Builder, this can actually cause the warning to be lost entirely. Reported by Todd Rinaldo in https://github.com/Test-More/test-more/issues/729.
  • The Test2::Event::Warning event now returns true for increments_count. That means that the test failure caused by a warning will not be output as a TAP test line. Previously this was just seen as a diag line, which could be quite confusing. Reported by Todd Rinaldo in https://github.com/Test-More/test-more/issues/728

Modules

A Test2 event for warnings
Fail if tests warn