mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
doc/make_cheatsheet.md: add a memo about how to run one rubyspec file
This commit is contained in:
parent
f3471174bb
commit
26532c7e77
1 changed files with 4 additions and 0 deletions
|
@ -64,6 +64,10 @@ $ make test-all TESTS=ruby/foo
|
|||
$ make test-all TESTS="test/ruby/test_foo.rb -n /test_bar/"
|
||||
```
|
||||
|
||||
```
|
||||
$ make test-spec MSPECOPT=spec/ruby/core/foo/bar_spec.rb
|
||||
```
|
||||
|
||||
## How to measure coverage of C and Ruby code
|
||||
|
||||
You need to be able to use gcc (gcov) and lcov visualizer.
|
||||
|
|
Loading…
Reference in a new issue