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

Text gets truncated in the test report. #1166

Closed
mjnovice opened this issue Mar 22, 2023 · 3 comments
Closed

Text gets truncated in the test report. #1166

mjnovice opened this issue Mar 22, 2023 · 3 comments

Comments

@mjnovice
Copy link

https://stackoverflow.com/questions/75245305/can-gomega-equal-with-ginkgo-print-full-strings

Do we have support to print full strings or this is in works ?

It would be really helpful if we could see entire objects in It <-> Expects failures.

@onsi
Copy link
Owner

onsi commented Mar 22, 2023

hey there - sorry about that, yeah sometimes gomega's defaults are too aggressive.

take a look at:

https://onsi.github.io/gomega/#adjusting-output

for some options on managing the diff output.

@onsi
Copy link
Owner

onsi commented Mar 22, 2023

(you can set these options just once - and they will hold for the duration of the suite)

@mjnovice
Copy link
Author

Thanks @onsi it fixes.

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