add docs for ruby minitest mode

This commit is contained in:
d12frosted 2016-10-11 22:24:57 +03:00 committed by Boris
parent adfeb68e86
commit e15fb35bd8
1 changed files with 14 additions and 3 deletions

View File

@ -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 |