Configuration & API
Per-project configuration
Logic Assurance settings are stored as sparse overrides (config name testgen). You change only what you need, and the rest tracks product defaults.
| Setting | Meaning | Default |
|---|---|---|
| metadataEntityCap | Maximum custom entities whose Dataverse metadata is pre-fetched per artifact (1 to 25) | 6 |
| defaultTestCasesPerArtifact | Default suite size when a request does not specify one (1 to 20) | 5 |
| excludedEntityPrefixes | Publisher prefixes skipped during metadata pre-fetch | flwn_, def_ |
| Prompt parameters | Output language, glossary, and free-text addendum | empty |
Test-count precedence: an explicit value on the generation request wins, then the per-project default, then the deployment-wide default from application settings.
The metadata cap and excluded prefixes let you tune how much of the schema each generator pulls in. Raise the cap for artifacts that touch many entities; add prefixes to skip publishers whose entities are not relevant to your tests.
REST API
The base path is api/tests. The web application is a client of this API, so every capability is available programmatically.
Generation and browsing
| Method and path | Purpose |
|---|---|
POST /api/tests/generate | Start a generation job and receive a jobId |
GET /api/tests/jobs/{jobId}/stream | Subscribe to the generation progress stream (SSE) |
GET /api/tests/projects/{projectId}/artifacts | List the testable artifacts in a project |
GET /api/tests/projects/{projectId}/coverage?ids=… | Get coverage counts for a set of artifacts |
Suites and configuration
| Method and path | Purpose |
|---|---|
GET /api/tests/projects/{projectId}/artifacts/{artifactId}/suite | Read an artifact's test suite |
PUT /api/tests/projects/{projectId}/artifacts/{artifactId}/suite | Save an artifact's test suite |
GET /api/tests/config | Get the effective test-generation defaults |
GET /api/tests/projects/{projectId}/config | Read the effective config plus overrides |
PUT /api/tests/projects/{projectId}/config | Save a sparse override document |
GET /api/projects | List available projects |
All endpoints require authentication and act on behalf of the signed-in user. See the Installation guide for the auth model.