Skip to content

chat-platform/EventStreamAPI-Tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EventStreamAPI Test Harness

This repository is designed to integration test images of the EventStreamAPI with CucumberJS to ensure they work as intended.

Note: This also tests the JS SDK for the EventStreamAPI, as it uses it to make the needed requests.

Requirements

  • Minikube
  • npm

Process

  1. Run ./test-behavior.sh:
    1. Starts minikube if needed
    2. Applies deployments
    3. Wipes the database if needed (ensures idempotency)
    4. Applies DB migrations
    5. Launches CucumberJS test suite

Clean environment

Much of the contents of the k8s cluster will auto clean between test runs, buf if you want a full wipe you can run the following between runs:

minikube delete

Note: This will require downloading k8s, which can take a little while on a slow network connection.

To test

  • transport responses

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published