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

pytest log10 updates to include url to evaluation page #322

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

wenzhe-log10
Copy link
Collaborator

@wenzhe-log10 wenzhe-log10 commented Oct 8, 2024

  • add link to docs.log10.io
  • add url to log10 evaluations page
  • update create test run function, returning the org slug

example output and note the Log10 Evaluation URL: at the end:

========================================= test session starts ==========================================
platform darwin -- Python 3.12.2, pytest-8.3.3, pluggy-1.5.0
rootdir: test_log10_eval
plugins: metadata-3.1.1, anyio-4.6.0, log10-io-0.14.0
collected 1 item

test_example.py F                                                                                [100%]

=============================================== FAILURES ===============================================
_____________________________________________ test_example _____________________________________________

    def test_example():
>       assert 0 == 1
E       assert 0 == 1

test_example.py:4: AssertionError
========================================== Log10 Eval Report ===========================================
Log10 Eval is enabled.
Test run: tests-06aedd36-69af-45bb-918a-b1cab4e79298
Log10 Evaluation URL: log10.io/app/test-org/evaluations?id=06aedd36-69af-45bb-918a-b1cab4e79298
Report saved to: test_log10_eval/.pytest_log10_eval_reports/tests-06aedd36-69af-45bb-918a-b1cab4e79298.report.json
Report successfully uploaded to Log10
======================================= short test summary info ========================================
FAILED test_example.py::test_example - assert 0 == 1
========================================== 1 failed in 27.13s ==========================================

* add link to docs.log10.io
* add url to log10 evaluations page
* update create test run function, returning the org slug
@wenzhe-log10 wenzhe-log10 requested review from nqn and kxtran October 8, 2024 04:31
@nqn nqn merged commit 17ba0e7 into main Oct 8, 2024
3 checks passed
@nqn nqn deleted the wenzhe/plugin_get_org_slug branch October 8, 2024 14:12
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