korrents

korrents · piece

Improving Your Workflow with JavaScript Testing: Best Practices

Marc Littlemore · 24 Jul 2021

Read the piece on marclittlemore.com ↗

3 korrents from this piece ↓

Marc Littlemore did not write this page.

Every claim below was made in this piece, quoted word for word and numbered in the order the piece makes them, so you can read it there rather than take our word for it. The sentence above each quote is our reading of the claim, not their wording. Each quote was checked against a stored copy of the page at build time; where the two differ, the quote is the fact.

  1. The primary goal is to make sure that your code is working as expected and to give you and the whole team confidence in your codebase.
  2. Not being able to test your code well is a "code smell" - something which doesn't feel right and suggests that there are other problems.
  3. The goal is to write tests that are easy to understand and maintain, not to test everything.

Keep reading

The other pieces are the ones whose claims are worded most like this one's. That measures language, not agreement: they may argue the opposite.