V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
picasso250
V2EX  ›  C

非常非常简单的 C++ Test 框架

  •  
  •   picasso250 · Mar 17, 2016 · 2857 views
    This topic created in 3706 days ago, the information mentioned may be changed or developed.

    https://gist.github.com/picasso250/e745c8419eba8bbdc5ee

    这是我写的一个非常简单的 C++ Test 框架。稍微修改一下就可以作为 C 的 Test 框架。

    原理就是用 Shell 脚本生成完整的测试文件,然后编译测试。不到 70 行代码。

    希望大家能够喜欢。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3050 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:19 · PVG 17:19 · LAX 02:19 · JFK 05:19
    ♥ Do have faith in what you're doing.