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

How to see complete test results on one device on another device? #853

Open
AlanKing95 opened this issue Dec 6, 2024 · 2 comments
Open

Comments

@AlanKing95
Copy link

When the test report is generated on device A, there will be detailed information about each case. I think the original file on device A should be quoted. Like:
image

But when I copy the test report of A to B to view it, there is only an overview on B, not the status of each case.Like:
image

Is there a way to get the same results on device B as on device A?

@BeyondEvil
Copy link
Contributor

Try running with the --self-contained-html flag.

@AlanKing95
Copy link
Author

Try running with the --self-contained-html flag.

Hello, thanks for the reply. The second picture I posted above is the result of using "--self-contained-html". It can only include css files and cannot have detailed information like the first picture.

version:
Name: pytest-html
Version: 4.1.1
Summary: pytest plugin for generating HTML reports
Home-page:
Author:
Author-email: Dave Hunt [email protected], Jim Brannlund [email protected]
License:
Location: /home/mi/.local/lib/python3.10/site-packages
Requires: jinja2, pytest, pytest-metadata
Required-by:

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

No branches or pull requests

2 participants