Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Unit-Lite CPAN distribution.

Report information
The Basics
Id: 32185
Status: resolved
Priority: 0/
Queue: Test-Unit-Lite

People
Owner: piotr.roszatycki [...] gmail.com
Requestors: dreuxl [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.0701
Fixed in: (no value)



Subject: set_up and tear_down
The set_up and tear_down methods must to be executed at start and at end of all tests and no at the start and at the end of the suite : Replace: foreach my $unit (@{ $self->units }) { $unit->set_up; foreach my $test (@{ $unit->list_tests }) { [...] } $unit->tear_down; } With: foreach my $unit (@{ $self->units }) { foreach my $test (@{ $unit->list_tests }) { $unit->set_up; [...] $unit->tear_down; } }
Done in 0.08. Thank you very much!