Support for integrated testing #744
Replies: 1 comment
-
|
Hey @ellisjas thank you for the feature request :) A more integrated testing solution is definitely something I (and many others I'm sure) would love to see in Lookbook. Are you thinking of this as tighter integration with an app's existing test suite but that runs outside of Lookbook, or more something that runs and reports on a per-component basis within the Lookbook UI? (The two might not be mutually exclusive but I'd be interested to know where you imagine the emphasis being).
By this do you mean the ability to run client-side (JS) DOM interaction tests from within the Lookbook UI? Similar to how Storybook does it? Or something else? I'd personally love a storybook-style solution but it would be quite a big task to build something reliable that works for all 'flavours' of components I suspect. I'm going to move this out of issues and into a discussion as that is where we are tracking feature requests now. But this is definitely something that would be good to get a range of peoples thoughts on as there is a lot of different ways something like this could potentially be implemented. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe
Would be great if LookBook supported testing of components. Doesn't need all the bells and whistles of Storybook, just the basics would be much appreciated. 🙏
Describe the solution you'd like
Introduce a testing framework integrated into LookBook that leverages the existing component previews as the basis for tests such as:
Describe alternatives you've considered
Tested
ViewComponentfunction usingrender_previewbut this requires additional overhead.Additional context
n/a
Beta Was this translation helpful? Give feedback.
All reactions