13 ms·
They make no assumption as to the implementation of the thing, they test that the observable behaviour is correct and that’s it. You could refactor the whole co
by williamdclt 3y ago
They make no assumption as to the implementation of the thing, they test that the observable behaviour is correct and that’s it. You could refactor the whole codebase without touching your tests: the tests are decoupled from the runtime code