Skip to content

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

Open

Description

@NullVoxPopuli

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions