TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Writing embedded code without tests and without hardware?

2 pointsby dsabalmost 2 years ago
Hi, I am working as embedded software engineer. We write very large amounts of unit and functional tests and it suits me and I understand where the need comes from.<p>Unfortunately, from time to time I&#x27;m told by my boss to write glue code for devices that we haven&#x27;t received yet and that are poorly documented. I wouldn&#x27;t mind writing code like this if I was writing some kind of integration test at the same time, but I don&#x27;t write such a test. Therefore, the only feedback I get that my code works is the compilation status - and that&#x27;s the problem, it&#x27;s very hard for me to motivate myself to write such code.<p>Do you know any interesting articles on this subject, so that I can use them to persuade my boss of this type of work? Or maybe you have a different opinion and you don&#x27;t mind writing code this way? The last question is: what English idiom to use to describe this type of work? I&#x27;m not a native English speaker and I don&#x27;t know how to look for inspirational articles on this topic.

2 comments

pixel3234almost 2 years ago
Do you have someone in factory who could run code for you?<p>Send them some stuff, put as much logging, sniff all network traffic... And make sure to cover your ass, your boss ordered this, he should have a full responsibility!
评论 #36388862 未加载
dsabalmost 2 years ago
I forgot to mention: my boss argues this need by the fact that the management keeps asking him if we have already integrated it.