ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Jester

by absszero ST3

No description provided

Details

Installs

  • Total 132
  • Win 35
  • Mac 78
  • Linux 19
Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Jester

Github Action


A Jest test runner

example

Installation

Package Control

  1. Tools > Command Palette, then select Package Control: Install Package
  2. Type Jester

Commands

Tools > Command Palette, and select following commands:

  • Jester: Test Suite Run the whole test suite by current actived file.
  • Jester: Test File Run all tests by current actived file.
  • Jester: Test Block Run the test block by the cursor location.
  • Jester: Test Last Run the last test.

Key Bindings

Tools > Command Palette, then select Preferences: Jester Key Bindings.

Add your preferred key bindings.

[
    { "keys": ["ctrl+shift+s"], "command": "jester_test_suite" },
    { "keys": ["ctrl+shift+f"], "command": "jester_test_file" },
    { "keys": ["ctrl+shift+b"], "command": "jester_test_block" },
    { "keys": ["ctrl+shift+l"], "command": "jester_test_last" }
]

Configuration

Tools > Command Palette, then select Preferences: Jester Settings.

// Show debug information
    "debug": false,

    // The jest execution is used when running tests. The default is looking for
    // the jest execution found on the node_modelus/.bin in the working directories.
    // "jest_execution": "/usr/local/bin/jest",
    // "jest_execution": "%USERPROFILE%\AppData\Roaming\npm\jest.cmd",

    // Jest CLI Options.
    // https://jestjs.io/docs/cli
    // e.g. `{"json": true, "outputFile": "filename.out"}`
    "jest_options": {}

Credits

Based initially on, and inspired by, gerardroche/sublime-phpunit.