Test the Requirement First
Thanks it's very clear :)
You're welcome!
If you can’t write a test for it, you don’t really know what you’re building.
Exactly, if we can't write a test, it means that the behavior is not clear to us, i.e., we don't know the expected outcomes for some inputs. In that case, it's impossible to write code that works correctly, when we don't even know what's expected.
Thanks it's very clear :)
You're welcome!
If you can’t write a test for it, you don’t really know what you’re building.
Exactly, if we can't write a test, it means that the behavior is not clear to us, i.e., we don't know the expected outcomes for some inputs. In that case, it's impossible to write code that works correctly, when we don't even know what's expected.