Skip to content

Commit

Permalink
restoring deleted command
Browse files Browse the repository at this point in the history
  • Loading branch information
Akyiaa authored Aug 21, 2023
1 parent c5e74fc commit eb8400d
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/markdown-pages/docs/cli-command-reference/runs-prepare.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
You can now run the tests in your portfolio by using the `runs submit` command.

0 comments on commit eb8400d

Please sign in to comment.