Skip to content

sagekit/magnitude-demo-repo

Repository files navigation

Magnitude Demo Repo

Basic repository to demonstrate how to set up Magnitude test cases.

Running locally

  1. Clone repo:
git clone https://github.com/magnitudedev/magnitude-demo-repo.git
  1. Add LLM keys to .env file

Please follow the Configure LLMs section in the main Magnitude repo.

  1. Install deps
npm i
  1. Start local server (in a separate terminal)
npm run dev
  1. Run Magnitude against the local server
npx magnitude

GitHub Actions

See magnitude.yaml for an example of how to run your Magnitude test suite with GitHub Actions.

About

Example repo for using the Magnitude test runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •