Skip to content

Conversation

NullVoxPopuli
Copy link
Contributor

These utilities are essential for debugging anything related to:

  • stuck tests
  • tests progressing too soon
  • mismatched URLs
  • etc

Specifically, snapshotTimers is good because it serializer the waiter information so it doesn't change out from underneath if you if you were to just do getPendingWaiterState() and log that out.

Copy link
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't disagree with you that these things are essential, but this is the kind of thing that we should have a micro RFC about with an especially strong focus on the "how we teach this" section.

Adding these things and having no official documentation anywhere to tell people how to use them is just pointless 😞

@NullVoxPopuli
Copy link
Contributor Author

i agree with that -- our testing docs in the guides are actually quite weak!

This PR gives me a reminder tho so I stop forgetting about this stuff. (been on/off about it for yeeeeaaaaars)

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.

2 participants