Skip to content

v0.1.6

Choose a tag to compare

@andreivcodes andreivcodes released this 18 Dec 02:05
· 10 commits to main since this release
78f6015
Add skip/ignore support and image diff attachments (#1)

* Add skip/ignore support and image diff attachments

Introduces skip and ignore handling in test macros and runtime, allowing tests to be marked as skipped with reasons. Adds parameter privacy controls (hidden, masked, excluded) and an image diff attachment helper. Updates CI workflow to a single job, expands .gitignore, and adds comprehensive tests and documentation for new features.

* Update runtime.rs

* Refactor CI workflow and improve macro code reuse

Reorganizes the GitHub Actions CI workflow into separate jobs for build, test, formatting, linting, documentation, and MSRV checks, with improved caching and matrix builds. Refactors allure-macros to reduce code duplication by introducing helper functions for ignore logic and panic trace capture, improving maintainability and consistency. Also removes 'target' from .gitignore to allow caching in CI.

* Wrap ignore blocks with black_box for test skipping

Added ::std::hint::black_box(true) guards around code blocks that handle ignored tests in allure-macros. This change may help prevent compiler optimizations from removing or altering the intended control flow for ignored test handling during CI tests.

* Update runtime.rs

* Update lib.rs