UnitTest

Provides for automated testing of automations, playbooks, and sub-playbooks.

python · Content Testing

Details

IDUnitTest
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.8.3296088

README

Provides for automated testing of automations, playbooks, and sub-playbooks.

Script Data


Name Description
Script Type python3

Inputs


Argument Name Description
playbook Playbook to Execute.
addAfter Playbook Task to Add This Task After.
testType Type of Test to Run.
listName List to Read Subplaybooks or Automations From.

Outputs


There are no outputs for this script.

args:
- description: Playbook to Execute.
  name: playbook
- description: Playbook Task to Add This Task After.
  name: addAfter
- auto: PREDEFINED
  description: Type of Test to Run.
  name: testType
  predefined:
  - Playbook
  - Subplaybook
  - Automation
  - Multiselect
- description: List to Read Subplaybooks or Automations From.
  name: listName
commonfields:
  id: UnitTest
  version: -1
contentitemexportablefields:
  contentitemfields:
    fromServerVersion: ""
dockerimage: demisto/python3:3.12.8.3296088
enabled: true
name: UnitTest
comment: "Provides for automated testing of automations, playbooks, and sub-playbooks."
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags: []
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)
runonce: false
engineinfo: {}