add docs for ruby minitest mode
This commit is contained in:
parent
adfeb68e86
commit
e15fb35bd8
|
@ -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 |
|
||||
|
|
Loading…
Reference in a new issue