Skip to main content
Version: 2.0 πŸ†•

automated-test

Automated Test suite integration in the CI step using devtron-ci.yaml​

Users can run the test case using the Devtron dashboard or by including the test cases in the devtron.ci.yaml file in the source git repository. For reference, check: https://github.com/kumarnishant/getting-started-nodejs/blob/master/devtron-ci.yaml

The test cases given in the script will run before the test cases given in the devtron.ci.yaml

FieldDescription
versionspecify the version of yaml
appliesToapplies the changes to a specified branch
typebranch type on which changes are to be applied, it can be BRANCH_FIXED or TAG_PATTERN
valuebranch name on which changes are to be applied, it can take a value as the name of branch (β€œmaster”) or as a regular expression ("%d.%d.%d-rc")
scriptA script which you want to execute, you can also execute the docker commands here
beforeDockerBuildStagesscript to run before the docker build step
afterDockerBuildStagesscript to run after the docker build step
outputLocationThe location where you want to see the output of the report of Test cases