Testing Nirvana

Go/split/create/peek/run to test/source.

This is in alpha stage, create/run not yet supported.
Use a test explorer extension to get a "run current test" feature for now

Install

Marketplace

Usage

Having a function name highlited

  • Testing Nirvana: Split to file
  • Testing Nirvana: Go to file
  • Peek Definition

Use a macro for better peek experience.

settings.json

    "macros.list": {
        "peekTest" : ["editor.action.peekDefinition", "list.focusLast", "list.expand", "list.focusLast"],
    },

Why

To make testing a first class citzen in VsCode. Choose how you want to work:

  • openning your tests "inline" with peek
  • splitting your editor
  • going back and forth between your tests

See ongoing official efforts.