Skip to content

chrisbreiding/vscode-test-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode Test Utils

Test utilities extension for VSCode. Currently supports easily adding and removing .only and .skip modifiers with keyboard shortcuts or the command palette.

Available Commands

Shortcut Action Mnemonic
ctrl-alt-a ctrl-alt-o Add a .only to the current line if there's a describe, context, or it add only
ctrl-alt-r ctrl-alt-o Remove the .only from the current line remove only
ctrl-alt-x ctrl-alt-o Remove all .onlys from the current file exterminate onlys
ctrl-alt-m ctrl-alt-o Remove all .onlys from the current file and add a .only to the current line if there's a describe, context, or it move only
ctrl-alt-a ctrl-alt-s Add a .skip to the current line if there's a describe, context, or it add skip
ctrl-alt-r ctrl-alt-s Remove the .skip from the current line remove skip
ctrl-alt-x ctrl-alt-s Remove all .skips from the current file exterminate skips

About

The cursor can be anywhere on the line for the add and move commands. The shortcuts are meant to be used hold alt and ctrl, then pressing the letters in succession. So ctrl-alt-a ctrl-alt-o means holding alt + ctrl, pressing a, then pressing o.