UltimateApp
UltimateApp copied to clipboard
Use Storybook for component documentation and snapshot testing
In order to have a nice documentation and automated snapshot testing, Bernie suggested we use Storybook there https://github.com/UltimateApp/UltimateApp/pull/47#issuecomment-607170966
What do you guys think about instead of writing all these snapshot tests manually we could start using storybook (https://storybook.js.org/) in combination with storyshots (https://storybook.js.org/docs/testing/structural-testing/#using-storyshots)?
That way we both get the benefit from storyshot (develop components in isolation or grouped, better testability because of the encouraged capsulation, better documentation) as well as automated snapshot testing with only a one-time setup being necessary