picasso250
V2EX  ›  C

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

  •  
  •   picasso250 · Mar 17, 2016 · 2915 views
    This topic created in 3742 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   ·   3502 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 111ms · UTC 11:04 · PVG 19:04 · LAX 04:04 · JFK 07:04
    ♥ Do have faith in what you're doing.