perl-Test-Spec icon indicating copy to clipboard operation
perl-Test-Spec copied to clipboard

rSpec-like test system for Perl

Results 16 perl-Test-Spec issues
Sort by recently updated
recently updated
newest added

I'm finding the Test::Spec module very useful, but I've been trying to find a way to access the test name from within the test subroutine, but have so far been...

Working through some tests today, came across this issue with `with_deep` tests. When mocking a call being made within a method being tested, the test was failing because there were...

When this happens it looks like this: ``` 1..0 skipped: (no reason given) Test Summary Report ------------------- t/foo.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Files=1, Tests=0,...

Howdy, If a test has this: `TODO: { local $TODO="derp"; ok(0) }` The failure is considered success: ``` not ok 2 # TODO derp # Failed (TODO) test at todo.t...

Test::Trap has layers and strategies that can be employed upon `use`. It’d be awesome if that could could passed through to Test::Spec’s bringing in of Test::Trap One immediate use case...

Greetings! Conceptually, what I want to do is something like this: ``` subtest "foo" => sub { my $cnt = 0; my $chk_cnt = 0; no warnings "redefine"; local $X::Y::reformat_harddrive...

``` use Test::Spec; our $v = "orig val"; describe "foo" => sub { around { local $v = "local value"; my $my = "local my"; diag("\nIN AROUND BEFORE YIELD -$v-...

Hi! Thanks for Test::Spec, I quite enjoy using it. Is there existing functionality available like Jasmine's [focused specs](http://jasmine.github.io/2.4/focused_specs.html)? I find myself wanting to only run one `describe` spec or one...

spec_helper is sneaking in some content from a file to a namespace. But it's not required to read the file inside the quoted eval. Reading it earlier provides the advantage...

Has been released.