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 print_depth option to the EUnit reporter #63

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

williamthome
Copy link
Owner

Sometimes the content is truncated when an error occurs and is not desirable, for example:

[<<"<html>\n    <head></head>\n    <body id=\"">>,<<"app">>,<<"\">">>,
 [<<"<div id=\"">>,<<"counter">>,<<"\">">>,<<"0">>,<<>>,
  [<<"<button>">>,<<"Incremen"...>>,<<"</bu"...>>],
  <<"</div>">>],
 <<"</body>\n</html>">>]

Note the ... on the 3rd line.

Increasing this value will display it as:

[<<"<html>\n    <head></head>\n    <body id=\"">>,<<"app">>,<<"\">">>,
 [<<"<div id=\"">>,<<"counter">>,<<"\">">>,<<"0">>,<<>>,
  [<<"<button>">>,<<"Increment">>,<<"</button>">>],
  <<"</div>">>],
 <<"</body>\n</html>">>]

@williamthome williamthome merged commit 91e7b68 into main Feb 13, 2025
4 checks passed
@williamthome williamthome deleted the feat/print-depth-option branch February 13, 2025 18:34
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