4 ms·
Having substantial test coverage is a different concept from TDD (which is an approach to software development). It's not clear how restriping an array is rela
by pizza234 4y ago
Having substantial test coverage is a different concept from TDD (which is an approach to software development).
It's not clear how restriping an array is related to a test suite, also because if an API is slow to test (e.g. restriping), it's slow with either static or dynamic languages.
In general, if a certain API is impossible to automatedly test (this is a common case in both static and dynamic languages, for example, for web services), one stubs the API; with dynamic languages one will be certain that the tested codepaths until the API are correct. With this strategy, the difference with a static language is minimized (or not existing at all).