V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
unspring
V2EX  ›  程序员

推荐下能让 vscode 像 webstorm 一样运行单测的插件

  •  
  •   unspring · May 10, 2023 · 1989 views
    This topic created in 1083 days ago, the information mentioned may be changed or developed.

    link: https://github.com/unspr/simple-js-test-runner

    vscode 商店地址: https://marketplace.visualstudio.com/items?itemName=ToddRuan.simple-js-test-runner

    平时在团队的开发流程中因为不同成员使用的 IDE 不同导致开发规范难以落地,就写了这样一个插件

    作用大概就是可以让 vsocde 像 webstorm 一样,可以有一个一键运行单个 it 测试的按钮,目前仅支持 mocha 和 jest

    团队内部体验效果不错,就发出来让更多的人体验下

    试了一下好像 V2EX 贴不了 github 的图片链接,就不放 Preview 了,项目链接有动图,使用方法浅显易懂

    3 replies    2023-05-10 16:25:16 +08:00
    shellic
        1
    shellic  
       May 10, 2023
    为什么不直接统一使用 WebStorm 呢
    unspring
        2
    unspring  
    OP
       May 10, 2023 via Android
    @shellic 因为原本的开发流程就没有相应的规范,leader 也没有做这方面的要求
    Agdhfdjh
        3
    Agdhfdjh  
       May 10, 2023
    Jest Runner
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   977 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:44 · PVG 04:44 · LAX 13:44 · JFK 16:44
    ♥ Do have faith in what you're doing.