beforeRunningCommand saveActiveFile command # Assumes the current file is a yaml test file # Runs with the currently-focused method as the test name args=$(${TM_RUBY:=ruby} <<"EOF" group = ENV['TM_FILEPATH'].split('/').last.split('.').first test_file = "#{File.dirname(ENV['TM_FILEPATH'])}_test.rb" puts test_file EOF) if [[ -z "$args" ]]; then echo -e "This doesn't appear to be a yaml test file." exit_show_tool_tip fi export RUBYLIB="$TM_BUNDLE_SUPPORT/RubyMate${RUBYLIB:+:$RUBYLIB}" "${TM_RUBY:-ruby}" -- "$TM_BUNDLE_SUPPORT/RubyMate/run_script.rb" $args input document keyEquivalent @r name Run all yaml tests output showAsHTML scope source.yaml uuid 1AF06162-B9B6-46E8-8058-AF8CA4EDC178