Initial public release of Apophis — invariant-driven automated API testing
This commit is contained in:
@@ -22,7 +22,7 @@ test('stateful runner handles empty routes', async () => {
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
})
|
||||
@@ -62,7 +62,7 @@ test('stateful runner executes commands', async () => {
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
})
|
||||
@@ -103,7 +103,7 @@ test('stateful runner detects status code violations', async () => {
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
})
|
||||
@@ -139,7 +139,7 @@ test('stateful runner evaluates APOSTL formulas', async () => {
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
})
|
||||
@@ -189,7 +189,7 @@ test('stateful runner tracks resource state', async () => {
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
})
|
||||
@@ -264,7 +264,7 @@ test('stateful runner substitutes path params from resource state', async () =>
|
||||
await fastify.ready()
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
})
|
||||
@@ -308,7 +308,7 @@ test('stateful runner supports config-level variants', async () => {
|
||||
await fastify.ready()
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
variants: [
|
||||
@@ -359,7 +359,7 @@ test('stateful runner supports route-level x-variants', async () => {
|
||||
await fastify.ready()
|
||||
|
||||
const result = await runStatefulTests(fastify as any, {
|
||||
depth: 'quick',
|
||||
runs: 10,
|
||||
scope: undefined,
|
||||
seed: 42,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user