ruby/gem_rbs_collection

[Documentation] Runtime testing using filename

raosush opened this issue · 2 comments

Description

  • RBS does not support filename based runtime testing using CLI command rbs test

Explanation

  • RBS uses Open3.capture3 to run a command for executing runtime tests.
  • If a filename is passed as an argument to rbs test command, Open3.capture3 executes the filename as a command, due to which a Permission denied error is thrown.
    image
  • This error is because a filename cannot be executed as a command, using Open3.capture3, which throws permission denied error.

How about $ rbs test ruby test.rb ?

Closing this as #41 is merged.