Skip to content

alexiswoo/vscode-ruby-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Test vscode extension

  • Run all test within a file.
  • Run a single test within a file.

Setup

  • Clone the folder
  • Add it to ~/.vscode/extensions/

By default, the extension uses mruby to run a single test.

Configuration

You can change the command to run the tests:

  • rubyTest.testSingleFileCommand: command to run a single test. $FILE (current file) and $LINE (current line under cursor) variables are available. Example:
"rubyTest.testCommand": "m $FILE:$LINE"
  • rubyTest.testAllFileCommand: command to run all tests on a file. $FILE (current file) is available. Example:
"rubyTest.testAllFileCommand": "ruby -Itest $FILE"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published