picasso250
V2EX  ›  C

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

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