.. index:: single: subunit_v2_output .. _subunit_v2_output/0: .. rst-class:: right **object** ``subunit_v2_output`` ===================== Intercepts unit test execution messages and outputs a Subunit v2 binary stream to the current output stream. | **Availability:** | ``logtalk_load(lgtunit(loader))`` | **Author:** Paulo Moura | **Version:** 1:0:0 | **Date:** 2026-03-02 | **Compilation flags:** | ``static, context_switching_calls`` | **Provides:** | :ref:`logtalk::message_hook/4 ` | **Uses:** | :ref:`list ` | :ref:`os ` | :ref:`term_io ` | :ref:`user ` | **Remarks:** - Usage: Simply load this object before running your tests using the goal ``logtalk_load([basic_types(loader),term_io(loader),lgtunit(subunit_v2_output)])``. | **Inherited public predicates:** | (none) .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ (no local declarations; see entity ancestors if any) Operators --------- (none)