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.
Libraries
- allure_dart_commons
- Framework-agnostic Allure result models, lifecycle, writer, and runtime APIs.