ember-learn / ember-learn/guides-source

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

Open
#2,067 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
161
Forks
512
Avg merge
4d 9h
Merged PRs (30d)
4

Description

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 :see_no_evil: ))
- `macroCondition(....) ` (test-only or dev-only code)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.