Skip to main content

โ“ 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)
  • Fine-grained PAT (see Token Permissions)

๐Ÿงช Which test frameworks are supported?โ€‹

FrameworkStatus
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.


๐Ÿ’ฌ Where can I get help?โ€‹


๐Ÿ‘‰ Also see: