
Test::Ika - Yet another BDD testing library(Development Release)

use Test::Ika;
use Test::Expects;
describe 'MessageFilter' => sub {
my $filter;
before_each {
$filter = MessageFilter->new();
};
it 'should detect message with NG word' => sub {
my $filter = MessageFilter->new('foo');
expect($filter->detect('hello foo'))->ok;
};
it 'should detect message with NG word' => sub {
my $filter = MessageFilter->new('foo');
expect($filter->detect('hello foo'))->ok;
};
};
runtests;

Test::Ika is yet another BDD framework for Perl5.
This module provides pretty output for testing.
THIS IS A DEVELOPMENT RELEASE. API MAY CHANGE WITHOUT NOTICE.

This module is dedicated to ikasam_a, a famous Japanese testing engineer.
This module focused to pretty output. Another modules doesn't provide this feature.
I think the keyword 'should' is not a core feature of BDD.

Test::Ika provides some reporters.

Create new Test::Ika::ExampleGroup.
It's alias of 'describe' function.
Create new Test::Ika::Example.
Create new Test::Ika::Example which marked "disabled".
Register hook.
Register hook.
Register hook.
Register hook.
Register hook.
Register hook.
Do run test cases immediately.
Normally, you don't call this method expressly. Test::Ika runs test cases on END { } phase.

Get a reporter instance.
Load a reporter class.

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>


Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.