allure_dart_commons 1.1.0
allure_dart_commons: ^1.1.0 copied to clipboard
Framework-agnostic Allure lifecycle and result primitives for Dart.
allure_dart_commons #
allure_dart_commons contains the framework-agnostic Allure model, lifecycle,
runtime message, and writer primitives shared by the Dart test adapters in this
workspace.
Use this package when you need low-level Allure result generation without the
package:test or Flutter adapter layers.
Advanced APIs #
AllureLifecycleListenercan observe lifecycle events and mutate aTestResultbefore it is written.AllureExecutorInfowritesexecutor.jsonsidecar metadata.AllureStatusDetailspreservesknown,muted, andflakyclassifications.addAttachmentStreamToRootandaddPreparedAttachmentToRootwrite large or late artifacts before the result references them.
All result and attachment writes use a temporary file followed by rename so downstream report generation does not see partially written payloads.