Closed postmodern closed 2 years ago
I am now leaning towards adding a test/configure
script that will generate the test/root/opt/rubies/
directory and bin/ruby
, as well as a ruby.sh
helper. This can also be used to re-generate the test fixtures when we wish to change settings.
Renamed test/setup
to test/configure
and store test configuration in test/config.sh
. Now test/fixtures/root/opt/rubies
are auto-re-generated on each test run.
The stub_bin_ruby branch which I have started now generates the test ruby's
bin/ruby
script to be a stub script that returns the expected output when the expected input is given. How or when the script should be generated, or if thebin/ruby
script should be committed, are still unanswered questions.Benefits
Disadvantages
/opt/rubies/
.