picasso250
V2EX  ›  C

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

  •  
  •   picasso250 · Mar 17, 2016 · 2979 views
    This topic created in 3779 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   ·   5391 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 03:48 · PVG 11:48 · LAX 20:48 · JFK 23:48
    ♥ Do have faith in what you're doing.