Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> libtest-exit-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: libtest-exit-perl  ]

Paket: libtest-exit-perl (0.11-1)

Perl module for testing whether code exits without terminating

Test::Exit provides some simple tools for testing that code does or does not call exit(), while stopping code that does exit at the point of the exit(). Currently it does so by means of exceptions, so it will not function properly if the code under test calls exit() inside of an eval block or string.

The only criterion tested is that the supplied code does or does not call exit(). If the code throws an exception, the exception will be propagated and you will have to call it yourself. die()ing is not exiting for the purpose of these tests.

Andere Pakete mit Bezug zu libtest-exit-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: libreturn-multilevel-perl
    Perl module to enable returning from a nested call stack
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libtest-exit-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 6,8 kB48 kB [Liste der Dateien]