=pod

=encoding utf8

=head1 NAME

YAMLTest - Write tests in YAMLScript

=head2 SYNOPSIS

A file C<test/test.t>:

    #!/usr/bin/env yamltest

    tests =: !
    - in:  Oh, hello
      up:  OH, HELLO
      low: oh, hello
    - in:  I like Pie!
      up:  I LIKE PIE!
      low: i like pie!
    - in:  Ready, Set, Go.
      up:  READY, SET, GO.
      low: ready, set, go.

    - for [test tests]:
        is:
        - get(test "in)->toUpperCase()
        - 

Run C<prove t/test.t>:

    test/test.t ..
    1..8
    ok 1 - This test will always 'pass'
    not ok 2 # TODO & SKIP Testing 'todo'
    # NOTE: This is awesome
    ok 3 - Testing 'ok'
    # This is a WARNING!
    ok 4 - 2 + 2 'is' 4
    ok 5 - 2 + 2 'isnt' 5
    ok 6 - Testing 'like'
    ok 7 - Testing 'unlike'
    ok 8 # skip Skipping - Highway to the danger zone
    ok
    All tests successful.
    Files=1, Tests=8,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.12 cusr  0.02 csys =  0.17 CPU)
    Result: PASS

=head2 DESCRIPTION

YAMLTest let's you write tests in YAML/YAMLScript.

Just add this shebang line to a C<test/test-file.t>:

    #!/usr/bin/env yamltest

=head2 SEE ALSO:

=over

=item * L<Test::More::YAMLScript|https://metacpan.org/pod/Test::More::YAMLScript>

=item * L<YAMLScript|https://metacpan.org/pod/YAMLScript>

=item * L<Lingy|https://metacpan.org/pod/Lingy>

=back

=head2 AUTHORS

=over

=item * Ingy döt Net L<ingy@ingy.net|mailto:ingy@ingy.net>

=back

=head2 COPYRIGHT AND LICENSE

Copyright 2022-2023 by Ingy döt Net

This library is free software and may be distributed under the same terms as perl itself.

=cut
