Leon6868

前端如何做单元测试?

  •  
  •   Leon6868 · Jul 18, 2025 · 1872 views
    This topic created in 329 days ago, the information mentioned may be changed or developed.

    比如路由、动画、表单等,大家都是如何解决的呢?

    3 replies    2025-07-22 14:27:42 +08:00
    MuscleOf2016
        1
    MuscleOf2016  
       Jul 18, 2025
    UI 测试最麻烦最没必要,把工具库什么的做一下把。或者没有业务逻辑的 ui 组件可以做下。参考现在开源的很多 ui 组件库。
    snowfuck
        2
    snowfuck  
       Jul 18, 2025
    cypress ?
    gorvey
        3
    gorvey  
       Jul 22, 2025
    storybook
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   985 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 18:57 · PVG 02:57 · LAX 11:57 · JFK 14:57
    ♥ Do have faith in what you're doing.