Remove generation profile tiering; use explicit runs count

This commit is contained in:
John Dvorak
2026-04-30 13:56:39 -07:00
parent 6295c476dc
commit 099576f12a
13 changed files with 41 additions and 58 deletions
+11 -6
View File
@@ -97,7 +97,7 @@ APOPHIS tracks created resources and runs cleanup after test completion.
Run stateful tests via the API:
```javascript
const stateful = await fastify.apophis.stateful({ depth: 'standard', seed: 42 })
const stateful = await fastify.apophis.stateful({ runs: 50, seed: 42 })
console.log('Stateful tests:', stateful.summary)
```
@@ -203,7 +203,7 @@ export default {
presets: {
'protocol-lab': {
name: 'protocol-lab',
depth: 'deep',
runs: 200,
timeout: 15000,
parallel: false,
chaos: true,
@@ -258,10 +258,15 @@ Run qualify across all packages in a monorepo workspace:
apophis qualify --workspace --profile oauth-nightly
```
## `--generation-profile` Flag
## Test Budget
Control test data generation depth independently from the qualification profile:
The `runs` field in your preset controls how many property-based tests execute per route. Default is 50. Lower for faster CI feedback, higher for deeper exploration:
```bash
apophis qualify --profile oauth-nightly --generation-profile quick
```javascript
presets: {
'protocol-lab': {
runs: 200,
timeout: 15000
}
}
```