Skip to content

Get Started

Install plugin

Elbase is currently in Beta

The plugins are not yet published to public package registries.
Please contact support for any questions, requests or commercial inquiries.

pip install pytest-elbase
npm i @elbase-io/jest-elbase
npm i @elbase-io/mocha-elbase

Configure plugin

export ELBASE_INGRESS_ENDPOINT=https://ingress.elbaseapis.io
export ELBASE_INGRESS_API_KEY=<api-key>
Create API key on Elbase API Keys page.
For more configuration options check out Configuration.

Run tests with plugin enabled

pytest --elbase

Add the following to package.json:

"scripts": {
  "test": "jest"
}

Run tests:

npm test -- --reporters="default" --reporters="@elbase-io/jest-elbase"

Add the following to package.json:

"scripts": {
  "test": "mocha"
}

Run tests:

npm test -- --reporter @elbase-io/mocha-elbase