当前位置:首页 > 下载列表 > Better Tests

Better Tests 0.0.4

BetterTestsforVisualStudioCode:ElevateYourTestingExperienceBetterTestsisacompactextensiondesignedtoenhanceyourtestingexperiencewithinVisualStudioCode,specificallytailoredfor
分类:   下载/工具 · 工具软件 来源:  点击进入 版本:  0.0.4
日期:  2026-02-12 人气:   大小:  
标签:   vscode Node.js typescript javascript __web_extension deno bun
点击下载 相关下载
功能介绍

Better Tests for Visual Studio Code: Elevate Your Testing Experience

Better Tests is a compact extension designed to enhance your testing experience within Visual Studio Code, specifically tailored for TypeScript and JavaScript projects. This extension not only simplifies the process of running tests but also integrates seamlessly with your development environment, supporting monorepos and allowing for custom configurations.

Key Features:

  • Enhanced Testing Experience: Run tests directly from your opened file or via VSCode commands, making the testing process more intuitive and efficient.
  • Monorepo Support: Automatically detects the current package.json, ensuring tests run in the correct context even within complex project structures.
  • Customizable Configuration: Tailor the extension to your needs with settings for test file patterns, custom flags, and scripts.

Configuration Guide:

To customize Better Tests, you can modify the following settings in your .vscode/settings.json file:

{
  "better.test.filePattern": {
    "type": "string",
    "default": "**/*.{test,spec}.{js,ts,tsx,jsx}",
    "description": "Glob pattern to match test files (e.g., **/*.test.{js,ts,tsx,jsx})"
  },
  "better.test.customFlag": {
    "type": "string",
    "default": "",
    "description": "Custom flag added to the end of test command"
  },
  "better.test.customScript": {
    "type": "string",
    "default": "bun test",
    "description": "Custom script to use instead of `bun test`, for example script from `package.json`"
  },
  "better.test.watchFlag": {
      "type": "string",
      "default": "--watch",
      "description": "Custom flag for the watch mode. Default is --watch"
  }
}

Usage Example:

Example of Better Tests in Action

With Better Tests, streamline your testing workflow and focus more on writing quality code. Whether you're working on a small project or a large monorepo, this extension is designed to make your testing process smoother and more efficient.

版本声明
本文转载于:https://marketplace.visualstudio.com/items?itemName=samuelgja.better-tests-experience 如有侵犯,请联系study_golang@163.com删除
查看更多
课程推荐
  • Golang云原生架构师课程
    Golang云原生架构师课程
    Go是一门并发支持、垃圾回收的编译型系统编程语言;本课程转载自哔哩哔哩:https://www.bilibili.com/video/BV1Mh411M7A
    205次学习
  • MySQL数据管理之备份恢复案例解析视频教程
    MySQL数据管理之备份恢复案例解析视频教程
    《MySQL数据管理之备份恢复案例解析视频教程》MySQL是一个开放源码的小型关联式数据库管理系统,目前MySQL被广泛地应用在Internet上的中小型网站中。由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,许多中小型网站为了降低网站总体拥有成本而选择了MySQL作为网站数据库。
    163次学习
  • MySQL索引优化解决方案
    MySQL索引优化解决方案
    本套课程是根据MySQL索引的设计理念与数据结构、索引使用场景、索引分类、索引运用场景、索引性能分析、查询优化、MySQL索引的慢查询等组成,主要讲述了MySQL索引优化的解决方案,非常适合有MySQL使用基础或者有一定工作经验的同学。课程讲解了解决大数量查询慢的问题、如何编写一个高效的SQL、查询语句应该如何优化、索引的实现原理是什么、索引又应该如何优化...等诸多SQL索引优化的难点和面试点。
    182次学习
  • 极客学院Docker视频教程
    极客学院Docker视频教程
    Docker是PaaS提供商dotCloud开源的一个基于LXC的高级容器引擎,源代码托管在Github上,基于go语言并遵从Apache2.0协议开源。Docker自2013年以来非常火热,无论是从github上的代码活跃度,还是各大厂商的支持,都使Docker成为了时下最受关注的技术,甚至微软都声称在下一代WindowsServer中集成对Docker的支持。所以我们收集了《极客学院Docke
    243次学习
  • Golang进阶实战编程
    Golang进阶实战编程
    本课程是在《Go语言基础视频》基础之上录制的,是Go语言基础的后半部分。包括包的管理,IO操作,Go语言最大的亮点:高并发,goroutine,channel,反射等。本视频主要为了帮助Go语言的初学者,从零到一的快速入门。学完本套课程,可以学会如果通过包管理Go项目,并发模型,以及并发实现,channel通道如何传递数据,反射等等。
    129次学习
  • JavaScript极速入门
    JavaScript极速入门
    本套课程将帮助大家迅速掌握JavaScript这门高端的、动态的、弱类型编程语言。知识点简单明了,让你学习0压力,适合新手观看学习......
    432次学习
微信登录更方便
  • 密码登录
  • 注册账号
登录即同意 用户协议隐私政策
返回登录
  • 重置密码