#Interaction Testing vs Unit Testing
2 messages · Page 1 of 1 (latest)
i think of storybook interaction tests as a integration test in the browser.
because UI component libraries render to a browser, this is an important integration to consider in the test result. and i generally don't unit test anything i can better cover with an integration test.
unit tests should, theoretically, test a unit of code that has zero integrations.