doc/make_cheatsheet.md: add a memo about how to run one rubyspec file

This commit is contained in:
Yusuke Endoh 2020-02-09 21:40:16 +09:00
parent f3471174bb
commit 26532c7e77
1 changed files with 4 additions and 0 deletions

View File

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