diff --git a/src/markdown-pages/docs/cli-command-reference/runs-prepare.md b/src/markdown-pages/docs/cli-command-reference/runs-prepare.md index 77e49776..1c8b422b 100644 --- a/src/markdown-pages/docs/cli-command-reference/runs-prepare.md +++ b/src/markdown-pages/docs/cli-command-reference/runs-prepare.md @@ -62,6 +62,32 @@ galasactl runs prepare ` --package dev.galasa.simbank.tests,dev.galasa.example.banking ``` +### Selecting tests without a test stream + +You can use test class names to build a portfolio when a test stream or test catalog is not available. + +The following example command selects specified tests (`SimBankIVT` and `BasicAccountCreditTest`) from the `dev.galasa.simbank.tests` test package and adds these tests to the `my_portfolio.yaml` portfolio. + +On Mac or Unix: + +``` +galasactl runs prepare \ + --bootstrap http://example.com:30960/boostrap \ + --portfolio my_portfolio.yaml \ + --class dev.galasa.simbank.tests/SimBankIVT \ + --class dev.galasa.simbank.tests/BasicAccountCreditTest +``` + +On Windows (Powershell): + +``` +galasactl runs prepare ` + --bootstrap http://example.com:30960/boostrap ` + --portfolio my_portfolio.yaml ` + --class dev.galasa.simbank.tests/SimBankIVT ` + --class dev.galasa.simbank.tests/BasicAccountCreditTest +``` + ### Setting test-specific overrides @@ -144,4 +170,4 @@ galasactl runs prepare ` --override zos.default.cluster=MYPLEX ``` -You can now run the tests in your portfolio by using the `runs submit` command. \ No newline at end of file +You can now run the tests in your portfolio by using the `runs submit` command.