Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon-docs: Test coverage doc block #8668

Closed
fervanrijswijk opened this issue Nov 1, 2019 · 6 comments
Closed

Addon-docs: Test coverage doc block #8668

fervanrijswijk opened this issue Nov 1, 2019 · 6 comments

Comments

@fervanrijswijk
Copy link

Describe the solution you'd like
Show code coverage for all component/child components for a component described in a story. This coverage can be an aggregation of all the components that can be found under a certain dir for the main story component.

Are you able to assist bring the feature to reality?
no

@stale stale bot added the inactive label Nov 23, 2019
@shilman shilman changed the title Show test coverage in docs Addon-docs: Test coverage doc block Nov 23, 2019
@stale stale bot removed the inactive label Nov 23, 2019
@pgangwani
Copy link

@shilman : This should be addition to jest, right ? Like If one is passing './.jest-test-results.json' results already, so new tab or subtab should show html coverage report. Is my understanding correct ?

@pgangwani
Copy link

@shilman : I may help if you welcome newbie contributors

@atanasster
Copy link
Member

@pgangwani - this request is with creating custom doc blocks - you can start it in your own repo as a storybook addon and I would be glad to contribute as well.
The Dependencies plugin can be used for inspiration on creating custom Doc blocks, and customizing DocsPpage: https://github.com/atanasster/storybook-addon-deps

@storybookjs storybookjs deleted a comment from stale bot Nov 30, 2019
@shilman
Copy link
Member

shilman commented Nov 30, 2019

@pgangwani like @atanasster said, if you want to built a standalone package for that, we'd be happy to promote it in all the storybook channels (twitter, medium, etc.). If you're interested in contributing it after the addon has stabilized, we'd be open to that too!

@stale
Copy link

stale bot commented Dec 21, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Dec 21, 2019
@stale
Copy link

stale bot commented Jan 20, 2020

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants