# sample_test.rb
gem 'minitest'
require 'minitest/autorun'
module Minitest
def self.plugin_bogus_options(opts, options)
end
def self.plugin_bogus_init(options)
p "Writing first pluging"
end
end
class SomeTest < Minitest::Test
def test_that_it_passes
assert_equal true, true
end
end
當我執行ruby sample_test.rb
它不會打印任何東西。我出錯的地方。你可以幫幫我嗎。新的Minitest插件沒有工作
我按照你的建議做了同樣的事情。以下是代碼'https:// github.com/sivagollapalli/bogus-plugin',但問題仍然存在。你能檢查嗎? –