Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update conftest.py #614

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

trishaange01
Copy link
Contributor

@trishaange01 trishaange01 commented Nov 18, 2024

Description

The update includes adding pytest hooks in conftest.py to enable adding of custom properties to the test report. The additional properties are comprised of the exception type and failure message, and description (docstring) of failing tests.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Hardware:
  • OS:

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have signed off all commits and they contain "Signed-off by: "
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

The change includes pytest hooks in conftest.py which add custom properties to the test report

Signed-off-by: Trisha De Vera <Trisha.Devera@analog.com>
@trishaange01 trishaange01 marked this pull request as ready for review November 18, 2024 07:16
@trishaange01
Copy link
Contributor Author

Hi @tfcollins! This PR is ready for review. Thanks 😊

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.

1 participant