Skip to content

Element84/terraform-aws-stac-server

Repository files navigation

Running unit tests

In order to run unit tests, first install all dependencies in package.json using npm install.

Then, to run the tests, you can run any of these commands:

npm test or npm run test runs all tests

npm run test:unit runs unit tests in the tests directory

npm run test:coverage runs unit tests and produces a coverage report

Steps to manually test live versions of stac-server

The unit tests are contained within the tests/unit folder of the repository. The tests are mainly checking to make sure that the STAC API request is properly structured and returns an appropriate response.

For more information on creating an appropriate STAC API request, please refer to the STAC Server README docs on Github: STAC API Spec and STAC Server, with particular emphasis on STAC Item Search.

The stac-server unit tests are not configured to be run against a remote environment, and enabling them to do so is a prohibitive amount of work.

About

STAC Server Terraform module for AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published