2 ms·
This is already a thing. It's in the form of static typing and runtime type-checking. If you use one (or both) properly in a language that supports them, you'll
by smt88 10y ago
This is already a thing. It's in the form of static typing and runtime type-checking. If you use one (or both) properly in a language that supports them, you'll end up needing nearly zero unit tests, and you can focus on integration tests.
- jlebrech 10y agoI think unit tests are good to make sure code has proper logic. all types could be used properly yet it doesn't behave as intended. I'm not sure how it would look but maybe declaring methods using demo literals and ending them with an expectation could be the way to go.