Skip to content

Conversation

@gibiw
Copy link
Contributor

@gibiw gibiw commented Jan 13, 2026

  • Updated the attachment methods to allow for step-specific attachments using qase.attach_to_step().
  • Improved the QaseFormatter to manage current step attachments more effectively.
  • Added documentation for attaching files and content to both test cases and specific steps, enhancing usability and clarity for users.

These changes improve the flexibility and functionality of the attachment system in Qase Behave, allowing for better tracking of test step-related data.


Note

Introduces step-level attachments and integrates them into result reporting.

  • Adds qase.attach_to_step() with a pending-attachment queue applied when a step becomes active; refactors attachment creation into _create_attachment() and maintains scenario-level qase.attach()
  • Updates formatter to set/clear current_step per step, applying pending attachments and ensuring correct association; clears step on new scenario
  • Updates docs (docs/usage.md) with test- and step-level attachment examples and parameter details; updates example step to use attach_to_step; bumps version to 2.0.6 and adds changelog entry

Written by Cursor Bugbot for commit 37cabf6. This will update automatically on new commits. Configure here.

- Updated the attachment methods to allow for step-specific attachments using `qase.attach_to_step()`.
- Improved the QaseFormatter to manage current step attachments more effectively.
- Added documentation for attaching files and content to both test cases and specific steps, enhancing usability and clarity for users.

These changes improve the flexibility and functionality of the attachment system in Qase Behave, allowing for better tracking of test step-related data.
@gibiw gibiw merged commit 8ccf66e into main Jan 13, 2026
37 checks passed
@gibiw gibiw deleted the feat/behave_attach branch January 13, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants