udt-dataset-managers-test

10.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i udt-dataset-managers-test

Weekly Downloads

1

Version

10.0.0

License

MIT

Unpacked Size

1.61 MB

Total Files

32

Last publish

Collaborators

  • cedricjean