discipline icon indicating copy to clipboard operation
discipline copied to clipboard

A way to filter `RuleSet`s

Open armanbilge opened this issue 3 years ago • 1 comments

An idea from Michael: .filter(_.id != "...")

This would make it easy to skip tests in certain situations e.g. https://github.com/typelevel/cats/issues/4263

armanbilge avatar Jul 01 '22 15:07 armanbilge

I gave this a try in 57b4acd15fcfc8f571887884d0313fede65ad7c3 but I'm not crazy about it. I feel like adding a checkFilter variant to checkAll in e.g. discipline-munit would be cleaner.

https://github.com/typelevel/discipline-munit/blob/0fa812cdee3d310a51906054bc56d3412e6c49cd/core/shared/src/main/scala/munit/DisciplineSuite.scala#L41-L43

armanbilge avatar Jan 14 '23 23:01 armanbilge