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

大家一般怎么写单元测试? 用哪些模块?

  •  
  •   noobsheldon · Nov 23, 2017 · 1192 views
    This topic created in 3081 days ago, the information mentioned may be changed or developed.

    以前很少写单元测试, 但是最近在开发一些功能时, 总是担心自己的改动影响其他的功能. 于是想写一些单元测试, 也搜索一番过后发现有Mock ,Pytest等第三方库. 按照网上的例子写了一点, 但是感觉不到单元测试对开发的帮助? 大家一般自己怎么写测试呢?

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