Raisu
V2EX  ›  问与答

向大家请教一下关于调试和单元测试的经验

  •  
  •   Raisu · Sep 20, 2018 · 1584 views
    This topic created in 2816 days ago, the information mentioned may be changed or developed.

    调试的时候是用 Log 多还是用调试器多。

    单元测试呢,写得多不多。要写到什么程度呢? 我自己写单元测试有时候会感觉很难写啊

    比如向服务器发送一个 post 请求,但是发送的 form 内容又比较多。这样的拼接感觉还不如直接手测。如果业务比较复杂,就更不知道怎么测试了

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