SpecFlow uses Compass by P10Y to measure generated code complexity and compare implementation variants.
Go to compass.p10y.com and create an account. Compass API access requires an enterprise account.
- Open Compass settings.
- Go to Integrations -> New Integration.
- Choose GitHub.
- Add the GitHub username or organization that owns your SpecFlow workspace repos.
- Paste a GitHub PAT with access:
admin:repo_hook, repo:*, user:*, workflow:*. - Enable auto-discovery for repositories.
- Save the integration.
- Open Settings -> API Tokens.
- Generate a token.
- Put it in
.envasP10Y_API_KEY.
specflow-init.sh calls Compass to resolve the organization id for this token
and writes P10Y_ORGANISATION_ID back to .env. You do not need to set that
value manually.