docs/dev/coverage.pod - Make Cover Documentation.
"make cover" is a very useful tool which generates reports on how well tested parrot code is. The coverage reports are outputted in various formats in cover_db/ after make cover
has run.
.sub 'test_set_capture' | |
.local pmc capt | |
.local pmc capt2 | |
$P1 = new ['String'] | |
capt = new ['Capture'] | |
capt2 = new ['Capture'] | |
capt[0] = 1337 | |
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
[remote "origin"] | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
url = https://kapace@github.com/kapace/parrot.git | |
[branch "master"] | |
remote = origin |
#!./parrot | |
# Copyright (C) 2006-2008, Parrot Foundation. | |
=head1 NAME | |
t/pmc/parrotlibrary.t - test the ParrotLibrary PMC | |
=head1 SYNOPSIS | |
% prove t/pmc/parrotlibrary.t |
c_output_is(linedirective(__LINE__) . <<'CODE', <<'OUTPUT', 'Test Std handles'); | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "parrot/parrot.h" | |
#include "parrot/api.h" | |
#include "parrot/embed.h" | |
#include "parrot/extend.h" |