Open utterances-bot opened 1 year ago
컴포넌트 인터랙션 테스트
https://iyu88.github.io//cypress/2023/06/04/component-interaction-test.html
역시 꼼꼼하게 정리해주셔서 따라가기 쉽네요. 너무너무 고생하셨어요 👍🏻 글 내용 중에 test-runner로 실행했을 때 Slider 외 컴포넌트들에도 테스트 코드가 있는 상태인가요?
@se030 현재 Slider 컴포넌트 스토리에 대해서만 테스트를 작성했습니다. 터미널을 캡쳐한 사진에서 모든 컴포넌트에 대해 테스트가 실행되는 이유는 링크 서두에서 확인할 수 있습니다. 간단히 말씀드리면, 커맨드를 실행했을 때 play function 유무와 상관없이 각 스토리가 정상적으로 렌더링 되는지 확인합니다. 따라서 인터랙션 테스트 코드가 없는 스토리에서도 렌더링 테스트가 실행된 것입니다.
[Cypress/Storybook] 컴포넌트 인터랙션 테스트
컴포넌트 인터랙션 테스트
https://iyu88.github.io//cypress/2023/06/04/component-interaction-test.html