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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

On tests

3 点作者 codr4life超过 8 年前

2 条评论

rdentato超过 8 年前
I think your approach is very interesting. I had implemented something similar but reverted to a simple API for tests as I felt it was too complicated to use (e.g. I had &quot;testEQxxx()&quot; for xxx in (int, str, ptr, ...). Actually I&#x27;m putting together a library much similar to yours (<a href="https:&#x2F;&#x2F;github.com&#x2F;rdentato&#x2F;clibutl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rdentato&#x2F;clibutl</a>) and I would love to get in touch with you to share experiences (and C horror stories :) ).
CharlesMerriam2超过 8 年前
TL;DR - Writing assertion based tests is great.
评论 #13296498 未加载
评论 #13297815 未加载