Replies: 1 comment
-
describe() does exactly this <3 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are currently having a test file that has 2 "groups" - tests for a certein kind of role, and different behaviour for another role.
I've been working with Flutter a year before going back to PHP - and Dart has something really cool which would fit the way pest-tests are being written. In dart you can have groups of tests in a single file, wrapped with a
group('desc', () {/*tests*/})
, and dthe desc gets prepended to the test description:This way you can:
App\Some\Class
is tested inTests\Feature\Some\ClassTest
regardless of which group)Beta Was this translation helpful? Give feedback.
All reactions