From eb8400dd3505bb63b4e535f156886ee76eb4c1d7 Mon Sep 17 00:00:00 2001 From: Fiona Ampofo <64271621+Akyiaa@users.noreply.github.com> Date: Mon, 21 Aug 2023 10:15:36 +0100 Subject: [PATCH] restoring deleted command --- .../cli-command-reference/runs-prepare.md | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) 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.