File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,3 +350,26 @@ The GitHub Actions workflow (`.github/workflows/stage-2-test.yaml`) orchestrates
350350 │ 3. Enforce thresholds │
351351 └───────────────────────┘
352352```
353+
354+ ## Testing INT
355+
356+ To test a locally deployed application against the integration environments of external services, PDS, SDS and Provider systems:
357+
358+ * Set up secrets in ` .secrets ` as per the instructions in ` .secrets/README.md `
359+ * ` make env-int ` - writes the ` .env ` file to point the application at the integration environments for each external service.
360+ * ` make deploy ` - will deploy the application, feeding the ` .env ` values in to its container environment.
361+
362+ ### Manual test
363+
364+ To manually test the application against the integration environments, run the Bruno collection using the ` INT.yml ` environment.
365+
366+ ### Automated tests
367+
368+ To run a subset the automated test suite, run the following commands
369+
370+ ``` bash
371+ make env-test-int
372+ source .env.test
373+ cd gateway-api
374+ poetry run pytest tests/integration/test_get_structured_record.py -k happy_path
375+ ```
You can’t perform that action at this time.
0 commit comments