Run the following commands to launch the Python or JavaScript tests on a local machine.
# Run the python tests.
yarn test:py
# Run the javascript tests.
yarn test:js
βͺ Note Kill any ghost process before running the tests.
yarn kill && \
yarn test:py
The following subsections narrow down the tests, starting from the lower technical layers to the higher ones.
Yjs
delivers the JavaScript shared data types for building collaborative software and is developed in https://github.com/yjs/yjs
yarn test:js:0
yarn test:py:0
βͺ Note Yjs
should be replaced by Ywasm
.
Yrs
delivers the Rust port of Y.js and is developed in https://github.com/y-crdt/y-crdt/tree/main/yrs.
yarn test:js:1
yarn test:py:1
Ywasm
delivers the JavaScript WASM shared data types are generated from Yrs
and is developed in https://github.com/y-crdt/y-crdt/tree/main/ywasm
yarn test:js:2
yarn test:py:2
Ypy
delivers the Python binding for Yrs
and is developed in https://github.com/y-crdt/ypy.
yarn test:js:3
yarn test:py:3
The Store
for Ypy
is developed in https://github.com/y-crdt/ypy-websocket.
βͺ Note Ypy Store should not be part of the ypy_websocket
repository, see this issue.
yarn test:js:4
yarn test:py:4
The WebSocket connector for Ypy
is developed in https://github.com/y-crdt/ypy-websocket.
yarn test:js:5
yarn test:py:5
Jupyter YDoc
delivers the document structures for Jupyter collaborative editing using Y.js
and Ypy
and is developed in https://github.com/jupyter-server/jupyter_ydoc.
yarn test:js:6
yarn test:py:6
The JupyterLab extension that delivers the RTC functionality to the end-user is developed in https://github.com/jupyterlab/jupyter_collaboration.
yarn test:js:7
yarn test:py:7