UniversalDataTool / dataset-managers

Native modules for asynchronous dataset management within the Universal Data Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UDT Dataset Managers

This is a submodule of the Universal Data Tool.

A Dataset Manager manages the asynchronous access and saving of a Universal Data Tool dataset within the Universal Data Tool application. Some Dataset Managers save to memory, while others save to disk, others may save to a server. Each dataset manager shares common test suites, so they're all collected here.

Tests

Ava Tests

Ava tests are preferred over browser tests, since they're easier to set up.

To run tests this you need to be using Node 14 (for es6 module support).

Try running nvm use 14

Then you can run yarn test to test each dataset manager.

Browser Tests

Some DatasetManagers only run in a browser. For these dataset managers, you can just run yarn run browser:dev, they all run on cypress.

Why was this broken out?

This was broken out as a npm module because the tests are a bit tricky to do within the Universal Data Tool and things like the CollaborationServerDatasetManager are first tested against the UDT collaboration server prior to integration to the UDT, so it just made things easier.

About

Native modules for asynchronous dataset management within the Universal Data Tool


Languages

Language:JavaScript 99.4%Language:Shell 0.6%