# jest-pytest-demo **Repository Path**: wind13/jest-pytest-demo ## Basic Information - **Project Name**: jest-pytest-demo - **Description**: A demo for jest-pytest. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Jest-Pytest demo ## PreRequirement - Python v3.8.* above - Node.js 12.18.* above ## CLone or download these codes. ## Install requirement ### Install pytest global ```sh pip install -U pytest ``` ### Install python related libs. ```sh pip install -r requirements.txt ``` ### Install node.js related libs (jest.js etc.). ```sh yarn ``` or ```sh npm i ``` ## Run tests ```sh yarn jest ``` or ```sh npm run jest ``` > Failed. Got "Your test suite must contain at least one test." It's [an issue](https://github.com/jest-community/jest-pytest/issues/30) of Python3 support. ### pytest only success or ```sh npm run test ``` to run pytest only.