Force named arguments for spec methods #14759
Labels
good first issue
This is an issue suited for newcomers to become aquianted with working on the codebase.
help wanted
This issue is generally accepted and needs someone to pick it up
kind:chore
status:discussion
topic:stdlib:specs
Spec methods like
describe
,it
, etc. accept a number of positional parameters. Only the first one,description
is really a good positional parameter. The others are options which should be passed as named arguments. Without a name there's no intuitive understanding what order the parameters would go in (did you know the second one isfile
?, ref #14757).We should force all parameters after
description
to be named arguments.The text was updated successfully, but these errors were encountered: