test/helper.rb in fluent-plugin-protobuf-http-0.2.0 vs test/helper.rb in fluent-plugin-protobuf-http-0.3.0
- old
+ new
@@ -1,8 +1,13 @@
-$LOAD_PATH.unshift(File.expand_path("../../", __FILE__))
-require "test-unit"
-require "fluent/test"
-require "fluent/test/driver/input"
-require "fluent/test/helpers"
+# frozen-string-literal: true
+
+require 'simplecov'
+SimpleCov.start
+
+$LOAD_PATH.unshift(File.expand_path('..', __dir__))
+require 'test-unit'
+require 'fluent/test'
+require 'fluent/test/driver/input'
+require 'fluent/test/helpers'
Test::Unit::TestCase.include(Fluent::Test::Helpers)
Test::Unit::TestCase.extend(Fluent::Test::Helpers)