HDL & Verification
Which describes regression testing in circuit design?
- ATesting only the newly added feature once
- BStudying how circuit performance declines year by year
- CRe-running the existing tests after every design change to confirm that previously working features have not broken
Show answer and explanation
Answer: C. Re-running the existing tests after every design change to confirm that previously working features have not broken
Fixing a bug or adding a feature can break something elsewhere unexpectedly. Regression testing automatically re-runs every test built so far to check that previously passing tests still pass. Large designs run thousands of tests almost daily and track the results in a summary. This automation is possible only with self-checking testbenches.
- A. Changes can affect other parts too.
- B. It is unrelated to statistical regression analysis.
- C. Correct. It checks that fixes have not caused new bugs.