Skip to content

Mention in the docs for dies_ok() that it is a blunt instrument #15

@petdance

Description

@petdance

http://perlbuzz.com/2017/06/28/avoid-the-vagueness-of-dies_ok-in-testexception/

dies_ok will pass if your code dies for any reason. For example:

dies_ok( sub { incorrectly_named_sub_because_of_a_typo() } );

Encourage users of the module to use throws_ok instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions