Test::Synopsis v.0.06


Test::Synopsis is a Perl test module to find .pm or .pod files under your lib directory and then make sure the example snippet code in your SYNOPSIS section passes the perl compile check.Note that this module only checks the perl syntax (by wrapping the code with sub) and doesn't actually run the code.Suppose you have the following POD in your module. =head1 NAME Awesome::Template - My awesome template =head1 SYNOPSIS use Awesome::Template; my $template = Awesome::Template->new; $tempalte->render("template.at"); =head1 DESCRIPTIONAn user of your module would try copy-paste this synopsis code and find that this code doesn't compile because there's a typo in your variable name $tempalte. Test::Synopsis will catch that error before you ship it.SYNOPSIS # xt/synopsis.t (with Module::Install::AuthorTests) use Test::Synopsis; all_synopsis_ok(); # Or, run safe without Test::Synopsis use Test::More; eval "use Test::Synopsis"; plan skip_all => "Test::Synopsis required for testing" if $@; all_synopsis_ok();

Test::Synopsis is a Perl test module to find ... Test your SYNOPSIS code ...

  • Freeware
  • 40 Kb
  • 242
  • Free

Review Test::Synopsis

  • captcha

Other software of Tatsuhiko Miyagawa

New Miscellaneous software
  • ASP. NET PDF Generator  v.2020.8.1The primary function of Iron PDF for ASP.NET is the generation of PDF documents using HTML to PDF technology. In addition, Iron PDF can be used to sign PDFs, edit existing PDFs, and extract content such as text and images from uploaded PDF documents.
  • OCR in .Net  v.4Iron OCR is a OCR .NET library allowing users to convert images and PDF documents back into text using the .NET Framework in C#, F#, or VB.NET.
  • The .Net PDF Library  v.2020.7.1A .NET PDF library such as Iron PDF is a software library for C#, VB.NET, and other .NET Framework developers to work with PDFs generating PDFs, editing PDFs, and extracting PDF content within their applications. Supports .Net Core & .Net Framework.