{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Write tests, not scripts that run them","compare":null,"dependentCount":null,"description":"Writing table-driven tests is usually a good idea. Adding a test case doesn't\nrequire adding code, so it's easy to avoid fucking up the other tests. However,\nactually going from a table of tests to a test that runs is non-trivial.\n\nTest::TableDriven makes writing the test drivers trivial. You simply define your\ntest cases and write a function that turns the input data into output data to\ncompare against. Test::TableDriven will compute how many tests need to be run,\nand then run the tests.\n\nConcentrate on your data and what you're testing, not plan tests = scalar keys\n%25test_cases\u003e and a big foreach loop.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-Test-TableDriven/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Test-TableDriven","newest":true,"newestVersion":"0.02","noVulnData":false,"origin":"devel/p5-Test-TableDriven","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Test-TableDriven","path":"/devel/p5-Test-TableDriven/","system":"FreeBSD","version":"0.02_2"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-TableDriven","path":"","system":"HardenedBSD","version":"0.02_2"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-TableDriven","path":"","system":"GhostBSD","version":"0.02_2"}],"packages":null,"pkgName":"p5-Test-TableDriven-0.02_2","related":null,"repository":"DPorts","requiredBy":["devel/p5-String-TT"],"requiredByCount":1,"runDepends":["lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.02_2","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Test-TableDriven"}
