The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::YAFT::Test::Spec - Test::YAFT - Test::Spec comparison

DESCRIPTION

Test::YAFT allows approach similar to one provided by Test::Spec with small but significant differences

code is executed as/when it appears in the source code
assert's test message is not concatenated

after

Not supported directly, only via Context::Singleton context expiration

before

Use arrange {} block instead.

before all behaviour can be achieved by using arrange {} block in (subtest) context.

before each behaviour can be achieved only by putting arrange {} block into each assert's arguments.

context

Use subtest instead

describe

Use subtest instead

AUTHOR

Branislav Zahradník <barney@cpan.org>

COPYRIGHT AND LICENCE

This file is part of Test::YAFT distribution.