Skip to content

RFE: issue diagnostic if Test::Alien::alien_ok hasn't been called #262

@djerius

Description

@djerius

I forgot to include a call to alien_ok at the start of my test file, and was stumped by the fact that no compiler flags were passed to the compiler.

Through trial and error (after reading the docs multiple times and not noticing that alien_ok was at the start of very example), I figured it out.

However, if it's forgotten, it's not obvious what's going wrong.

After looking at the Test::Alien code, I think that an empty @aliens array is an error. If that's the case, perhaps checking if it's empty before using it and emitting an error saying "yo! call alien_ok" might be appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐣EnhancementUseful potential future feature (not a bug)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions