Skip to content

Add integration tests. #13

@sharkinsspatial

Description

@sharkinsspatial

Initial deployment of this construct revealed several small CDK and configuration related issues that made the resulting infrastructure fail when used in a stack. ref be40af7 and ref #8

We should build an integration test suite which deploys an ephemeral stack using the construct, it should

  • Create a collection via the Ingestor API.
  • Ingest an item via the Ingestor API.
  • Verify the creation of the item via the STAC API endpoint.

Given the expense (in deployment time and resources) these integration tests should likely only run against new release tags.

### Tasks
- [ ] https://github.com/developmentseed/cdk-pgstac/issues/47
- [x] Create a test suite : https://github.com/developmentseed/eoapi-tests
- [x] Create a github action that runs the demo deployment, runs the tests on it, and tears down the deployment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions