Test2::Event::Subtest(3) User Contributed Perl Documentation Test2::Event::Subtest(3)

# [NAME](#NAME)

Test2::Event::Subtest - Event for subtest types

# [DESCRIPTION](#DESCRIPTION)

This class represents a subtest. This class is a subclass of Test2::Event::Ok.

# [ACCESSORS](#ACCESSORS)

This class inherits from Test2::Event::Ok.

$arrayref = $e-&gt;subevents

Returns the arrayref containing all the events from the subtest

$bool = $e-&gt;buffered

True if the subtest is buffered, that is all subevents render at once. If this is false it means all subevents render as they are produced.

# [SOURCE](#SOURCE)

The source code repository for Test2 can be found at &lt;https://github.com/Test-More/test-more/&gt;.

# [MAINTAINERS](#MAINTAINERS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad)

# [AUTHORS](#AUTHORS)

[Chad Granum &lt;exodist@cpan.org&gt;](#Chad~2)

# [COPYRIGHT](#COPYRIGHT)

Copyright Chad Granum &lt;exodist@cpan.org&gt;.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See &lt;https://dev.perl.org/licenses/&gt;

2026-10-26 perl v5.44.0

---

Document: Test2::Event::Subtest(3pm) from perl-test-simple 1.302226-r2 (Chainguard OS)
Source: https://github.com/Test-More/test-more
