10 ms·
The amount of setup and teardown necessary to test something is a property of the system under test. It is not susceptible to one's opinion as to how things sho
by mannykannot 4y ago
The amount of setup and teardown necessary to test something is a property of the system under test. It is not susceptible to one's opinion as to how things should be.
- mollerhoj 4y agoThere are usually different ways to design a system. Its often the case that designing the system such that it is easy to test (with little setup/teardown) has other benefits too. E.g. It often indicates low coupling and a more simple design. That being said, there can of course me other tradeoffs e.g. performance and even cases where simple test setups are downright impossible.