From fa876fb7beecc045b3fbbf18e416abcb79f59f10 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Fri, 13 Oct 2023 07:50:43 +0900 Subject: [PATCH] Add how to test --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index a9966ce2..63cd31ca 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,23 @@ $ rake build:racc_parser `new_parser.rb` is generated from `parser.y` by Racc. Run the rake command when you update `parser.y` then commit changes of both files. +### Test + +Running tests: + +```shell +$ bundle install +$ bundle exec rspec +``` + +Running type check: + +```shell +$ bundle install +$ bundle exec rbs collection install +$ bundle exec steep check +``` + ### Profiling Lrama #### 1. Create parse.tmp.y in ruby/ruby