[tap-l] multi-file TAP
Ovid
publiustemp-tapx at yahoo.com
Sat Apr 7 20:18:02 BST 2007
--- Andy Armstrong <andy at hexten.net> wrote:
> plan 3
> begin "Spigot extraction"
> plan 3
> ok 1 Spigot::Extractor loaded
> ok 2 Spigot visble
> not ok 3 Spigot free
> end
> begin "Documentation"
> plan 1
> ok 1 Documentation makes sense
> end
> ok 3 All tests completed
1. Your leading "plan 3" only had two begin/end sets.
2. I'd feel more comfortable if the "end" block also carried the
description.
3. Infinite TAP streams are allowed. Infinite test files possibly
should be allowed, also.
> > And with regard to BEGIN/END blocks, I don't think we need an END,
> > just a BEGIN
> > since we can treat it like Perl's "package" and just assume one
> > file until we
> > see another.
There are non-perl folk on this list. They might not know what
BEGIN/END blocks are. In any event, I'd still prefer to specify
behavior rather than implementation.
Cheers,
Ovid
--
Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/
More information about the tap-l
mailing list