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.

On tests

3 pointsby codr4lifeover 8 years ago

2 comments

rdentatoover 8 years ago
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 :) ).
CharlesMerriam2over 8 years ago
TL;DR - Writing assertion based tests is great.
评论 #13296498 未加载
评论 #13297815 未加载