test2_plugin_nowarnings

Fail if tests warn

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. test2_plugin_nowarnings

Description

Loading this plugin causes your tests to fail if there any warnings while they run. Each warning generates a new failing test and the warning content is outputted via diag. This module uses $SIG{__WARN__}, so if the code you're testing sets this, then this module will stop working.

Install

Channel stable v0.10-2

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install test2_plugin_nowarnings

Download version 0.10-2 (any) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews