cypress

    cypress 세팅 방법

    cypress 세팅 방법

    개요 Cypress 를 세팅하여, 내 앱을 테스트할 수 있는 환경을 만들어보자. 설치 pnpm install cypress --save-dev테스팅 도구라서 글로벌한 어딘가에 설치해야 된다고 생각했는데, cypress 공식 문서 에서는 프로젝트 경로에 설치하는 것을 권장하고 있다. Best Practice The recommended approach is to install Cypress with npm because: Cypress is versioned like any other dependency. It simplifies running Cypress in Continuous Integration. 열어보기 npx cypress open위와 같이 실행 명령어를 입력 후에 조금 기다리면, 위 화면처럼..

반응형