- Add support for checking all example groups with
ExampleLength
. (@backus) - Add support for checking shared example groups for
DescribedClass
. (@backus) - Add support for checking
its
from rspec-its. (@backus) - Add
EmptyExampleGroup
cop for detectingdescribe
s andcontext
s without any tests inside. (@backus) - Add
CustomIncludeMethods
configuration option forEmptyExampleGroup
. (@backus) - Add
NestedGroups
cop for detecting excessive example group nesting. (@backus) - Add
MaxNesting
configuration option forNestedGroups
cop. (@backus) - Add
ExpectActual
cop for detecting literal values withinexpect(...)
. (@backus) - Add
MultipleExpectations
cop for detecting multipleexpect(...)
calls within one example. (@backus) - Add
Max
configuration option forMultipleExpectations
. (@backus) - Add
SubjectStub
cop for testing stubbed test subjects. (@backus) - Add
LetSetup
cop for detecting cases wherelet!
is used for test setup. (@backus) - Change all cops to only inspect files with names following rspec convention (
*/spec/*
and/or_spec.rb
). (@backus) - Add
AllCops/RSpec
configuration option for specifying custom spec file patterns. (@backus) - Add
AssignmentOnly
configuration option forRSpec/InstanceVariable
cop. (@backus) - Add
BeEql
cop which looks for expectations that can usebe(...)
instead ofeql(...)
. (@backus) - Add autocorrect support for
BeEql
cop. (@backus) - Add
MessageExpectation
cop for enforcing consistent style of eitherexpect(...).to receive
orallow(...).to receive
. (@backus) - Add
MessageChain
cop. (@bquorning)