Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.04 KB

Integration tests

This directory contains smoke and integration tests for Eliza project.

Smoke tests

  • Should always be run on a freshly cloned project (i.e. no local changes)
  • Building and installing is part of the test
  • No configuration required
  • To run: pnpm run smokeTests

Integration tests

  • You need to configure your .env file before running (currently at least OPENAI_API_KEY is required)
  • How to use:
    1. Install project dependencies and build the project as described in top-level README
    2. To run all the tests: pnpm run integrationTests

Integration test library

  • For simplicity, integration tests are written in plain JavaScript (ESM)
  • Currently this is just a "proof of concept" (single test), please reach out if you would like to contribute.

Using in GitHub CI/CD