Tests
# garden.yml
kind: Test
name: frontend-integ
type: container
dependencies:
- build.frontend # <- we depend on the build because the image is used when running the test
- deploy.frontend # <- we want the frontend service to be running and up-to-date for this test
spec:
image: ${actions.build.frontend.outputs.deploymentImageId} # <- use the output from the corresponding image build
args: [npm, run, integ]Examples
Integration Testing
Test Artifacts
Next Steps
Last updated
Was this helpful?

