53,173 views
24 votes
24 votes
Why should running your unit test suites not take a long time?A. Unit tests aren't that important, so less time should be spent on them and more time coding.B. Unit tests suites that take too long to run discourages running the tests, making them less usefulC. When running tests in a central location, longer tests can block others from running their tests as wellD. Tests that run too long risk slowing down the feedback cycle for developers

User Daya Sharma
by
2.6k points

1 Answer

21 votes
21 votes

Answer:

D. Tests that run too long risk slowing down the feedback cycle for developers

Step-by-step explanation:

The reason you should run your unit test suites not to take a long time is that "Tests that run too long risk slowing down the feedback cycle for developers."

Otherwise, the developers would find it difficult to detect problems instantly, causing delay to fix the problems which will eventually delay the developers or project's team to advance to the next stage of the project.

User Chetan Paliwal
by
3.2k points