laravel / ideas

Issues board used for Laravel internals discussions.
938 stars 28 forks source link

How are packages with stubs tested (like breeze)? #2465

Open MordiSacks opened 3 years ago

MordiSacks commented 3 years ago

I'm trying to figure out how packages that publish stubs can be unit tested, the obvious place of reference for to look at is laravel/breeze,
But I couldn't figure out how stubs are tested.
So how is this done?

stephan-v commented 3 years ago

I don't think the stubs themselves are tested directly. The only thing I could find is these feature tests:

https://github.com/laravel/breeze/tree/1.x/stubs/tests/Feature