▲ | yakshaving_jgt 6 days ago | ||||||||||||||||||||||||||||||||||
I write parsers all the time. Why wouldn’t you test parsers in isolation? | |||||||||||||||||||||||||||||||||||
▲ | simianwords 6 days ago | parent [-] | ||||||||||||||||||||||||||||||||||
Sure but not everyone is working at this level. Dogmatically writing unit tests where they don’t bring much value is something that happens all the time and needs to stop. No one actually evaluates whether unit tests are needed. Unit tests at least in my experience, are needed sparingly - in specific places that encompass slightly complicated well contained logic. | |||||||||||||||||||||||||||||||||||
|