You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
Hi all--first, thank you so much for this test suite! It made developing an adapter (and feeling confident about it) so much easier.
Something I found a bit challenging, though, was the fact that test failures roll back any state created during the run. In some situations, I was unable to debug without poking around the objects and data created by the test. To do so, I turned on more aggressive logging in my underlying database, recreated the test state at the time of the failure, and debugged from there.
Would you all be interested in changing this behavior? Or in providing an optional flag to preserve local state on failure?
The text was updated successfully, but these errors were encountered:
@JLDLaughlin Thanks so much for mettle-testing the suite, and for opening the issue! You're right—it's frustrating to have lots of past test schemas cluttering up the db, and it's also frustrating to have those test schemas aggressively cleared when they'd be the best first stop for debugging.
Would you be able to give that a go and see if it works as intended? If so, we should definitely document it in the README.
On top of that, I'm thinking about a -x/--fail-fast flag that would stop the testing suite at first sign of failure, and leave the database objects in place. Is that something you would have found helpful during adapter development?
Hi all--first, thank you so much for this test suite! It made developing an adapter (and feeling confident about it) so much easier.
Something I found a bit challenging, though, was the fact that test failures roll back any state created during the run. In some situations, I was unable to debug without poking around the objects and data created by the test. To do so, I turned on more aggressive logging in my underlying database, recreated the test state at the time of the failure, and debugged from there.
Would you all be interested in changing this behavior? Or in providing an optional flag to preserve local state on failure?
The text was updated successfully, but these errors were encountered: