1
0
Fork 0
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:
Yusuke Endoh 2020-02-09 21:40:16 +09:00
parent f3471174bb
commit 26532c7e77

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.