Test::Describe

blah blah blah

NAME

Test::Describe - blah blah blah

SYNOPSIS

use Test::Describe;

describe Int, {
    context "should have some methods", {
        define "is-prime-example", 42;
        define "a-code", 97;

        it "should have a working is-prime", -> :$described-class, :$is-prime-example {
            expect($described-class).to: have-method "is-prime";
            expect($is-prime-example).to: be-false;
        }

        it "should have a working is-prime", -> :$described-class, :$a-code {
            expect($described-class).to: have-method "is-prime";
            expect($a-code.chr).to: be-false;
        }
    }

    context "should work with math operators", {
        define "one-plus-one", { 1 + 1 };

        it "sum", -> :&one-plus-one {
            expect(one-plus-one).to: be-eq 2
        }
    }
}

DESCRIPTION

Test::Describe is a RSpec like testing for Raku

AUTHOR

Fernando Correa de Oliveira <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2021

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

Test::Describe v0.0.1

blah blah blah

Authors

  • Fernando Correa de Oliveira

License

Artistic-2.0

Dependencies

Test

Test Dependencies

Provides

  • Test::Describe
  • Test::Describe::Describe
  • Test::Describe::Expect
  • Test::Describe::Helpers
  • Test::Describe::It
  • Test::Describe::Match
  • Test::Describe::Match::Change
  • Test::Describe::MatchFunctions
  • Test::Describe::Root

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.