← Graph

Are fake-dice tests enough, or should the real dice be tested too?

question 2 connections

Audience asks whether tests using the fake dice are sufficient. Rodzik agrees that in the real world you should complement unit tests (with fake dice) with end-to-end tests that exercise the real dice; for unit scope, fakes are fine.

answer_summary
Unit tests with fake dice are fine for the unit level, but real-world code should also have end-to-end tests that exercise the real implementation.
question Are fake-dice tests enough, or should the real dice be tested too?
about
Fake Object concept
Asks about the scope where fakes are sufficient.
question Are fake-dice tests enough, or should the real dice be tested too?
asked_at
Audience question during Q&A.

Provenance

Read by
4 extractions