Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpojer/pyjest
Example Jest runner for Python
https://github.com/cpojer/pyjest
Last synced: 22 days ago
JSON representation
Example Jest runner for Python
- Host: GitHub
- URL: https://github.com/cpojer/pyjest
- Owner: cpojer
- Created: 2017-08-11T09:49:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-18T00:46:41.000Z (almost 7 years ago)
- Last Synced: 2024-10-04T11:28:48.415Z (about 1 month ago)
- Language: JavaScript
- Size: 361 KB
- Stars: 83
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pyjest
An experimental example test runner for Jest that runs Python tests within Jest.
![expo runner](/jest-21-expo-runner.gif?raw=true)
## Install
Requires python and node.js 8+.
```
cd example
pip install -r requirements.txt
yarn
```## Run
```
yarn test
```## Runner API
Check out `pytest-runner/src/index.js` for a minimal implementation of a
test runner for Jest. This API is experimental.Jest Pull Requests that enabled this feature:
* [Rename TestRunner to TestScheduler](https://github.com/facebook/jest/pull/4218)
* [Split TestRunner off of TestScheduler](https://github.com/facebook/jest/pull/4233)
* [Make jest-runner a standalone package](https://github.com/facebook/jest/pull/4236)
* [Make Jest's Test Runner configurable](https://github.com/facebook/jest/pull/4240)