Unit Tests for Actions in `packs` pack
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
Following the ChatOps Aliases Tests, write Pack Unit Tests for packs Actions (https://github.com/StackStorm/st2/pull/2982):
See: https://github.com/StackStorm/st2/tree/master/contrib/packs/actions
-
packs.delete -
packs.download -
packs.get -
packs.get_config -
packs.load -
packs.search -
packs.setup_virtualenv -
packs.show -
packs.unload -
packs.update_virtualenv -
packs.virtualenv_prerun
Not going to do tests for these:
* [ ] (it's just a packs.restart_componentlocal-shell-cmd)
* [ ] - it's a chain calling delete/unloadpacks.uninstall
* [ ] it's a chain calling download/virtualenv_prerun/setup_virtualenv/loadpacks.install
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pack unit-testing guide and the existing tests for completed actions in contrib/packs/actions. Add coverage for packs.load, packs.setup_virtualenv, packs.update_virtualenv, and packs.virtualenv_prerun, then run the relevant pack test suite and confirm those unchecked actions are covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100