{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Decorate tests with a no-exceptions assertion","compare":null,"dependentCount":null,"description":"Test::Lives provides only one function, lives_and, which works almost exactly\nlike the function of the same name in Test::Exception. That is, it allows you to\ntest things that could (but shouldn't) throw an exception without having to have\ntwo separate tests with two separate results (and two separate descriptions).\n\nYou pass it a block of code to run (which should contain one test assertion) and\na test description to give the assertion inside the block.\n\nThe description will be available inside the block in the $_ variable. (This is\ndifferent from Test::Exception, which employs hacky magic to relieve you of\nhaving to pass the description to the decorated assertion.)\n\nIf the block ends up throwing an exception, a test failure will be logged.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-Test-Lives/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Test-Lives","newest":true,"newestVersion":"1.003","noVulnData":false,"origin":"devel/p5-Test-Lives","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Test-Lives","path":"/devel/p5-Test-Lives/","system":"FreeBSD","version":"1.003"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Lives","path":"","system":"HardenedBSD","version":"1.003"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Lives","path":"","system":"GhostBSD","version":"1.003"}],"packages":null,"pkgName":"p5-Test-Lives-1.003","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"1.003","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/dist/Test-Lives"}
