Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Better tests for Visual Studio Code

Small extension to provide better user experience for testing your typescript / javascript code!

Visual Studio Marketplace Version

Extension provide better experience to run tests in your typescript / javascript projects directly via opened file or via vscode command.

Working also in monorepos, looking for the current package.json and running tests in the right context.

Example of usage:

alt text

Configuration

.vscode/settings.json

You can use the following configurations to customize the behavior of the Better Tests extension.

{
  "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"
  }
}

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages