Feature request for coverage #795
titantwentyone
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's great that we can add
->covers(MyClass::class)
to our tests. I was wondering if we could be improved so we can have:So that we don't have to specify this for each individual test. Bit of a time saver and ensures we include everything we need. Also a bit more akin to how PHPUnit defines covers for a whole class (i.e. just define it once).
Weirdly PHPStorm seems to indicate that
covers
is valid forbeforeEach
but the tests fail with:Beta Was this translation helpful? Give feedback.
All reactions