Sha256: f8174b44546f2490bcd720adff66d6b317f79e2b98ec2c907192c9ed8ef32b0e

Contents?: true

Size: 522 Bytes

Versions: 24

Compression:

Stored size: 522 Bytes

Contents

= Usage

You need to tell RuboCop to load the Minitest extension. There are three
ways to do this:

== RuboCop configuration file

Put this into your `.rubocop.yml`.

[source,yaml]
----
require: rubocop-minitest
----

Now you can run `rubocop` and it will automatically load the RuboCop Minitest
cops together with the standard cops.

== Command line

[source,sh]
----
rubocop --require rubocop-minitest
----

== Rake task

[source,ruby]
----
RuboCop::RakeTask.new do |task|
  task.requires << 'rubocop-minitest'
end
----

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rubocop-minitest-0.21.1 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.21.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.20.1 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.20.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.19.1 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.19.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.18.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.17.2 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.17.1 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.17.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.16.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.15.2 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.15.1 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.15.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.14.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.13.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.12.1 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.12.0 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.11.1 docs/modules/ROOT/pages/usage.adoc
rubocop-minitest-0.11.0 docs/modules/ROOT/pages/usage.adoc