{"action":"created","issue":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/11183","repository_url":"https://api.github.com/repos/mui-org/material-ui","labels_url":"https://api.github.com/repos/mui-org/material-ui/issues/11183/labels{/name}","comments_url":"https://api.github.com/repos/mui-org/material-ui/issues/11183/comments","events_url":"https://api.github.com/repos/mui-org/material-ui/issues/11183/events","html_url":"https://github.com/mui-org/material-ui/issues/11183","id":318970561,"number":11183,"title":"Goals and usage of test-utils are unclear in docs","user":{"login":"nickmccurdy","id":927220,"avatar_url":"https://avatars0.githubusercontent.com/u/927220?v=4","gravatar_id":"","url":"https://api.github.com/users/nickmccurdy","html_url":"https://github.com/nickmccurdy","followers_url":"https://api.github.com/users/nickmccurdy/followers","following_url":"https://api.github.com/users/nickmccurdy/following{/other_user}","gists_url":"https://api.github.com/users/nickmccurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmccurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmccurdy/subscriptions","organizations_url":"https://api.github.com/users/nickmccurdy/orgs","repos_url":"https://api.github.com/users/nickmccurdy/repos","events_url":"https://api.github.com/users/nickmccurdy/events{/privacy}","received_events_url":"https://api.github.com/users/nickmccurdy/received_events","type":"User","site_admin":false},"labels":[{"id":303023592,"url":"https://api.github.com/repos/mui-org/material-ui/labels/test","name":"test","color":"8ADD6D","default":false}],"state":"closed","locked":false,"assignee":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars2.githubusercontent.com/u/3165635?v=4","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"assignees":[{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars2.githubusercontent.com/u/3165635?v=4","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-30T17:30:01Z","updated_at":"2018-05-05T15:25:40Z","closed_at":"2018-05-03T21:30:27Z","author_association":"NONE","body":"- [x] I have searched the [issues](https://github.com/mui-org/material-ui/issues) of this repository and believe that this is not a duplicate.\r\n\r\nI'm trying to use `material-ui@next` with `react-testing-library`, which does not use Enzyme, and I find the purpose and use cases of test-utils unclear in the [userspace docs](https://material-ui-next.com/guides/testing/#userspace). I have used Enzyme previously so I understand the difference between mount/shallow/render, but not how they differ from Enzyme, as I can successfully unit test components with Enzyme directly. Meanwhile, it seems like testing libraries like `react-testing-library`, which do not use Enzyme renderers, cannot be used with the built in test-utils. I would appreciate more information on what test-utils do differently from a practical perspective (not just adding context to components or wrapping Enzyme for installation convenience) so I can decide when I need to use them over a different testing library."},"comment":{"url":"https://api.github.com/repos/mui-org/material-ui/issues/comments/386813222","html_url":"https://github.com/mui-org/material-ui/issues/11183#issuecomment-386813222","issue_url":"https://api.github.com/repos/mui-org/material-ui/issues/11183","id":386813222,"user":{"login":"nickmccurdy","id":927220,"avatar_url":"https://avatars0.githubusercontent.com/u/927220?v=4","gravatar_id":"","url":"https://api.github.com/users/nickmccurdy","html_url":"https://github.com/nickmccurdy","followers_url":"https://api.github.com/users/nickmccurdy/followers","following_url":"https://api.github.com/users/nickmccurdy/following{/other_user}","gists_url":"https://api.github.com/users/nickmccurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/nickmccurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickmccurdy/subscriptions","organizations_url":"https://api.github.com/users/nickmccurdy/orgs","repos_url":"https://api.github.com/users/nickmccurdy/repos","events_url":"https://api.github.com/users/nickmccurdy/events{/privacy}","received_events_url":"https://api.github.com/users/nickmccurdy/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T15:25:40Z","updated_at":"2018-05-05T15:25:40Z","author_association":"NONE","body":"Thanks for the update. While these changes add a little detail to what API is provided, I'm still unclear of the overall practical differences of this over Enzyme and when I should use this instead. Are the APIs provided specific to Material UI's custom solution, adding some utility helpers to Enzyme that are project agnostic but were useful in the internal helping suite, or both? If this isn't intended to be used externally, it may help to hide the page or move it to contributing docs."}}
{"actor":{"display_login":"nickmccurdy"}}