β Frequently Asked Questions β Fundamentals
This page contains general-purpose answers that apply to all Early agents (PR, Commit, Folder, CLI).
Each agent may also have its own specialized FAQ page for platform-specific behavior.
π How do I get my API key?β
Contact us at support@startearly.ai.
Youβll receive a team-specific API key to run test generation in any CI or locally.
π Do I need a source control token?β
Yes. All agents require an scm token to:
- Read pull request metadata
- Push commits with generated tests
- Comment on PRs (optional)
Use either:
- GITHUB_TOKEN (GitHub Actions only)
- Classic PAT (with
repo,read:packages) - Fine-grained PAT (see Token Permissions)
π§ͺ Which test frameworks are supported?β
| Framework | Status |
|---|---|
| Jest | β Supported |
| Mocha | π‘ Planned |
| Vitest | π‘ Planned |
| Pytest | π‘ In Beta |
π§ What files will get tests?β
Early only generates tests for:
- Functions with 0% coverage
- In supported languages (currently JavaScript and TypeScript)
- Inside your target folder or changed commit range
Future versions will support setting a custom coverage threshold.
βοΈ Why does it skip some files?β
- The function is already covered.
- The file is not testable (e.g., config files, typings, test helpers).
- The language is not supported.
- The file isn't part of the scanned range (PR diff, folder, or commit).
Check your logs to see which files were scanned and skipped.
π¦ Why wonβt the CLI install?β
You must configure GitHub Packages access using a classic token. Add this to .npmrc:
@earlyai:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
Use a classic Personal Access Token with read:packages scope.
See Installation.
π¬ Where can I get help?β
- Email: support@startearly.ai
- Slack (for invited teams)
π Also see: