Matt S Trout > Rakudo-Star-2012.08_001 > rakudo-star/parrot/runtime/parrot/include/test_more.pir

Download:
Rakudo-Star-2012.08_001.tar.gz

Annotate this POD

Source  

DESCRIPTION ^

This file contains all the boilerplate code for starting off a test written in PIR using Test::More's subs.

Purpose ^

In order to use it, simply include it in the :main routine of your test script.

Imports several subs into the current namespace from Test::More.

This is intended to be broadly usable. Feel free to use Test::More directly, of course, but this provides a handy shortcut for setting up simple test file written in parrot.

syntax highlighting: