Skip to content

Latest commit

Β 

History

History
98 lines (66 loc) Β· 2.05 KB

tests.md

File metadata and controls

98 lines (66 loc) Β· 2.05 KB

Tests

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.

0. Yjs

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.

1. Y Rust - Yrs

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

2. Y WebAssembly - Ywasm

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

3. Ypy

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

4. Ypy Store

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

5. Ypy WebSocket

The WebSocket connector for Ypy is developed in https://github.com/y-crdt/ypy-websocket.

yarn test:js:5
yarn test:py:5

6. Jupyter YDoc

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

7. Jupyter Collaboration

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