DEV Community

Krishna Sagar R
Krishna Sagar R

Posted on • Edited on

1

Unit Test Suit Scrutiny

Doing scrutiny with below points may help to maintain your unit test suite to make more sense

Developer experience

  • How easy it is to use the test suite for a developer in a busy day ?
  • Is your CI is good enough to execute your tests frequent enough ?

Test failures

  • Break a code unit and find which tests are failing. it should expose week points

Test case descriptions and error messages

  • how accurate are the Error messages on failure of test ? Are you able to find out what exactly broken just by looking at the message ?
  • How easy it is for you to understand what the code unit is responsible for just by looking at log of test suite execution ?

Test suite performance

  • Are there any tests taking unreasonable or significant amount of time ?
  • Consider skipping such tests and find the root cause of low performance of that test. This should help you to know the unknowns on which the implementation is relaying on.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay