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

Document helpful testing techniques that can boost quality of life for individual projects #2067

Open
NullVoxPopuli opened this issue Oct 29, 2024 · 0 comments

Comments

@NullVoxPopuli
Copy link
Contributor

Things like

  • Custom QUnit checkboxes!!
  • Assigning getSettledState / getPendingWaiterState to window (so you can see what's holding up your test live!)
  • why / how is a property changing? (example: observing an effect ruin your day) -- intercept it with a getter/setter pair or just put a breakpoint in source (node_modules chunk/vendor/etc) if the code already has a setter (like if you need to figure out what is setting an ember-data @attr (my day today, oof 🙈 ))
  • macroCondition(....) (test-only or dev-only code)
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