-
Notifications
You must be signed in to change notification settings - Fork 17
Testing
Kolton R. Heaps edited this page May 23, 2022
·
1 revision
Tests can be run by changing directory to your DeepLynx folder and running npm run test
.
This runs the suite of tests specified in the package.json configuration file (by default it runs them all).
- External API with network available URL (an endpoint for testing can be set up using the readme in THIS REPO)
To test the http implementation of data targets you will need to:
- ensure that your API is available and ready
- edit the src\tests.env and specify a HTTP_DATA_TARGET_URL (Note: the endpoint in the image above is to be used only if you have decided to setup your own API using the repo specified in the "Test Specific Requirements" above.)
- run
npm run test
With the environmental variable set, the test script will now run the http data target impl test.
Sections marked with ! are in progress.
- HTTP Authentication Methods
- Generating and Exchanging API Keys for Tokens
- Creating a DeepLynx Enabled OAuth2 App
- Authentication with DeepLynx Enabled OAuth2 App
- Creating an Ontology
- Creating Relationships and Relationship Pairs
- Ontology Versioning
- Ontology Inheritance
- Querying Tabular (Timeseries) Data
- Timeseries Quick Start
- Timeseries Data Source
- Timeseries Data Source via API
- Exporting Data
- Querying Data
- Querying Timeseries Data
- Querying Jazz Data
- Querying Data - Legacy
- Querying Tabular Data