5 ms·
Question to professional C programmers: Do you write unit tests? At my current job I've never met C++, let alone C programmer who writes unit tests. Is it comm
by NigelTufnel 13y ago
Question to professional C programmers: Do you write unit tests?
At my current job I've never met C++, let alone C programmer who writes unit tests. Is it common?
- silentbicycle 13y agoIn my experience, unit testing is more common in embedded C development, because the code is held to much higher standard of accountability. Sloppy embedded code can kill people, or at the very least lead to incredibly expensive hardware recalls. With the exception of poorly thought-out privacy policies, it's unlikely that errors in a web app can cause that level of problems. It's also much easier to deploy an update to a web app than a Mars rover or a car's brake controllers.
- aidenn0 13y agoI see few unit tests, but lots and lots of integration tests, and it looks like greatest could be used for that too.