8425 shaares
200 private links
200 private links
TL;DR we don't care in unit tests about internal testing. That doesn’t mean shallow rendering is wrong.
I personally use them to test well separated logic and iterate over:
- write the test that make the feature pass
- implement until the code passes the test
- next feature or case or exception
- repeat.
Yes. TDD.