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

Add support for outputting HTML report to StringIO #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bobf
Copy link

@bobf bobf commented Sep 12, 2020

Bypass filesystem if needed, or output to an open File object, instead
of writing to a given filename.

Bypass filesystem if needed, or output to an open File object, instead
of writing to a given filename.
Allow loading report data from a provided JSON string instead of loading
from a path on the filesystem.
@bobf
Copy link
Author

bobf commented Sep 12, 2020

@rajatthareja Hi, thank you for making this gem, we are using it to generate reports of tests on websites.

We save our Cucumber results to a database so I have added functionality to allow loading from an input string and outputting to a StringIO (to serve directly to browser from controller).

I have added tests for both new features - let me know if you need me to make any adjustments.

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