Closed ignacio-chiazzo closed 2 years ago
Minitest uses Ruby classes, if a Minitest class inherits from another class, it will also inherit its methods causing Minitest to run the parent's tests twice. In some cases, we want them to run them twice, but most of the time, we don't.
This warning is based on a Rubocop rule for duplicated tests. This blog post and this library contain more information.
Fixes https://github.com/rubocop/minitest-style-guide/issues/45
Thanks. Can you squash your commits into one?
👍
Minitest uses Ruby classes, if a Minitest class inherits from another class, it will also inherit its methods causing Minitest to run the parent's tests twice. In some cases, we want them to run them twice, but most of the time, we don't.
This warning is based on a Rubocop rule for duplicated tests. This blog post and this library contain more information.
Fixes https://github.com/rubocop/minitest-style-guide/issues/45