The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.75 - 2016-08-02

  • This is the first non-TRIAL release of the "rewrite TCM to use Test2" work. There are no changes from 0.74. All changes below are a summary of previous TRIAL release changes.
  • BACKWARDS INCOMPATIBILITIES
    • The test_teardown method is no longer run when a test is skipped unless run_control_methods_on_skip returns a true value. The test_teardown method was never intended to be run unconditionally.
    • Parallel testing now parallelizes test classes rather than individual test instances. This is only relevant if your test suite contains parameterized test classes. This is slightly less efficient, but made the internal test running code much simpler and made it possible to fix reporting for parallel test runs.
    • The Test::Class::Moose::Config->builder method has been removed.
    • The Test::Class::Moose::Runner->builder method has been removed.
  • ENHANCEMENTS
    • Rewrote the internals of Test::Class::Moose to use Test2 test events. This led to several changes and cleanups. Notably, parallel testing is now much simpler and more like sequential testing.
    • You can force test_shutdown to run when a class is skipped by having a class's run_control_methods_on_skip method return true.
    • Test reporting works correctly when tests are run in parallel, and the reports for sequential and parallel runs of the same classes should now be identical.
    • You can now force the test_shutdown method to be run when a class is skipped by defining a run_test_shutdown_on_skip method in your test class that returns a true value.
    • Test class instances now have a $self->test_instance_name method.
  • BUG FIXES
    • Fixed a bug in how test methods were counted. When a test class or method was entirely skipped by setting $self->test_skip, the method or classes were still included in the count returned by the report object's num_test_methods method.

Changes for version 0.74 - 2016-07-22 (TRIAL RELEASE)

  • Last TRIAL release before the Test2 version goes stable unless I receive reports of problems with this release.
  • BACKWARDS INCOMPATIBILITIES
    • The run_test_shutdown_on_skip method is now named run_control_methods_on_skip and applies to both test_shutdown and test_teardown.
    • The test_teardown method is no longer run when a test is skipped unless run_control_methods_on_skip returns a true value. The test_teardown method was never intended to be run unconditionally.

Changes for version 0.73 - 2016-05-12 (TRIAL RELEASE)

  • BUG FIXES
    • Fix a test failure on Windows.
    • Attempted to fix context handling so test events have the right traces.

Changes for version 0.72 - 2016-05-10 (TRIAL RELEASE)

  • BACKWARDS INCOMPATIBILITIES
    • Parallel testing now parallelizes test classes rather than individual test instances. This is only relevant if your test suite contains parameterized test classes. This is slightly less efficient, but made the internal test running code much simpler and made it possible to fix reporting for parallel test runs.
    • The Test::Class::Moose::Config->builder method has been removed.
    • The Test::Class::Moose::Runner->builder method has been removed.
  • ENHANCEMENTS
    • Rewrote the internals of Test::Class::Moose to use Test2 test events. This led to several changes and cleanups. Notably, parallel testing is now much simpler and more like sequential testing.
    • Test reporting works entirely correctly when tests are run in parallel.
    • You can now force the test_shutdown method to be run when a class is skipped by defining a run_test_shutdown_on_skip method in your test class that returns a true value.
    • Test class instances now have a $self->test_instance_name method.
  • BUG FIXES
    • Fixed a bug in how test methods were counted. When a test class or method was entirely skipped by setting $self->test_skip, the method or classes were still included in the count returned by the report object's num_test_methods method.

Modules

Serious testing for serious Perl
Global registry of tags by class and method.
Configuration information for Test::Class::Moose
Managed deprecation warnings for Test::Class::Moose
Execute tests in parallel (parallelized by instance)
Execute tests sequentially
Load Test::Class::Moose classes automatically.
Test information for Test::Class::Moose
Reporting on test classes
Reporting on test classes
Reporting on test methods
Reporting object for timing
Test::Class::Moose for roles
Automatically load the classes you're testing
Common code for Runner classes
Deprecated parallel runner role - see docs for details
run tests against multiple instances of a test class
Reporting gathering role
Runner for Test::Class::Moose tests
A starting guide for Test::Class::Moose
Internal utilities