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

Make the IEnumerable max depth for actual and expected output configurable #2469

Open
andre-ss6 opened this issue Jan 20, 2022 · 1 comment

Comments

@andre-ss6
Copy link

andre-ss6 commented Jan 20, 2022

Currently, the max depth for printing actual and expected IEnumerables is hardcoded as 5, even at v3 (though v3 is at least referencing the const fields).

It's kinda frustrating to have to debug a thery every time in order to know which specific test failed.

@andre-ss6
Copy link
Author

andre-ss6 commented Jan 20, 2022

I'm up for contributing with this, I just need to know the design decisions (will it be configurable programmatically or via configuration file? or both? or an overload for Asserts, perhaps?).

By the way, I think 5 is a quite low number anyway. Perhaps the default could be higher.

@andre-ss6 andre-ss6 changed the title Make the actual and expected output for IEnumerable max depth configurable Make the IEnumerable max depth for actual and expected output configurable Jan 20, 2022
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

1 participant