TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 dsab将近 2 年前
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 条评论

pixel3234将近 2 年前
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 未加载
dsab将近 2 年前
I forgot to mention: my boss argues this need by the fact that the management keeps asking him if we have already integrated it.