From e15fb35bd8c33211bea2f4b33da4149e33a58bdf Mon Sep 17 00:00:00 2001 From: d12frosted Date: Tue, 11 Oct 2016 22:24:57 +0300 Subject: [PATCH] add docs for ruby minitest mode --- layers/+lang/ruby/README.org | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/layers/+lang/ruby/README.org b/layers/+lang/ruby/README.org index 38a913cf5..8f591a524 100644 --- a/layers/+lang/ruby/README.org +++ b/layers/+lang/ruby/README.org @@ -15,6 +15,7 @@ - [[#tests][Tests]] - [[#rspec-mode][RSpec-mode]] - [[#ruby-test-mode][Ruby-test-mode]] + - [[#minitest-mode][minitest-mode]] - [[#rake][Rake]] * Description @@ -82,9 +83,9 @@ this file is used. Note: Only one version manager at a time can be enabled. ** Test runner -This layer supports both =RSpec= and =ruby-test= test runners (frameworks). -By default =ruby-test= is used, to change to another frameworks set -the layer variable =ruby-test-runner=. +This layer supports =RSpec=, =ruby-test= and =minitest= test runners +(frameworks). By default =ruby-test= is used, to change to another frameworks +set the layer variable =ruby-test-runner=. Example to set the test runner to =RSpec=: @@ -165,6 +166,16 @@ When =ruby-test-runner= equals =ruby-test=. | ~SPC m t b~ | run test file | | ~SPC m t t~ | run test at pointer | +*** minitest-mode +When =ruby-test-runner= equals =minitest=. + +| Key binding | Description | +|-------------+---------------------------| +| ~SPC m t a~ | run all tests | +| ~SPC m t b~ | run current file | +| ~SPC m t r~ | repeat last test command | +| ~SPC m t s~ | run test for current file | + ** Rake | Key binding | Description |