This doc lists and describes the existing tests for impt.
The test descriptions are grouped by the impt commands.
The tests for each command have their own table which describes:
- preconditions,
- command options,
- reference to the test source code.
The normal font indicates positive tests, the bold font indicates negative tests.
- Production features, including
pre-factory
,pre-production
,factory
andproduction
device group types. - Collaboration features.
- Positive tests for
impt log stream
. - Tests for interactive user input.
- Tests for builds identification by
sha
attribute.
impt account info
impt account list
impt auth info
impt auth login
impt auth logout
impt build cleanup
impt build copy
impt build delete
impt build deploy
impt build get
impt build info
impt build list
impt build run
impt build update
impt device assign
impt device info
impt device list
impt device remove
impt device restart
impt device unassign
impt device update
impt dg builds
impt dg create
impt dg delete
impt dg info
impt dg list
impt dg reassign
impt dg restart
impt dg unassign
impt dg update
impt loginkey create
impt loginkey delete
impt loginkey info
impt loginkey list
impt loginkey update
impt product create
impt product delete
impt product info
impt product list
impt product update
impt project create
impt project delete
impt project info
impt project link
impt project update
impt webhook create
impt webhook delete
impt webhook info
impt webhook list
impt webhook update
impt test create
impt test delete
impt test github
impt test info
impt test run
impt test update
Precondition | Command options | Test name | ||
---|---|---|---|---|
user | output | help | ||
all | account/account_info.spec.js: account info |
|||
me | all | account/account_info.spec.js: account info by me |
||
name | all | account/account_info.spec.js: account info by username |
||
id | all | account/account_info.spec.js: account info by user id |
||
all | account/account_info.spec.js: account info by email |
|||
default | Y | help/help.spec.js: impt help pages test suite |
||
not exist name |
name | all | account/account_info.spec.js: account info by not exist username |
|
w/o value |
all | account/account_info.spec.js: account info without user value |
Precondition | Command options | Test name | |
---|---|---|---|
output | help | ||
json | account/account_list.spec.js: account list |
||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
auth | temp | endpoint | confirmed | output | help | |
not auth |
default | auth/auth_user_pwd.spec.js: global logout without login |
||||
Y | default | help/help.spec.js: local logout without login |
||||
default | Y | auth/auth_user_pwd.spec.js: impt help pages test suite |
||||
global user/pass |
default | auth/auth_user_pwd.spec.js: global logout |
||||
Y | default | auth/auth_user_pwd.spec.js: local logout with global login |
||||
Y | default | auth/auth_user_pwd.spec.js: global logout with temp login |
||||
Y | default | auth/auth_user_pwd.spec.js: global logout with endpoint login |
||||
local user/pass |
Y | default | auth/auth_user_pwd.spec.js: local logout |
|||
default | auth/auth_user_pwd.spec.js: global logout with local login |
|||||
w/o value | auth/auth_user_pwd.spec.js: global logout without output value |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
product | unflag | confirmed | output | help | ||
zombie builds exist for product |
id | Y | default | build/build_cleanup.spec.js: build cleanup by product id |
||
zombie builds exist for product |
name | Y | Y | default | build/build_cleanup.spec.js: flagged build cleanup by product name |
|
zombie builds exist for other product |
Y | default | build/build_cleanup.spec.js: build cleanup |
|||
zombie builds exist for other product |
Y | Y | default | build/build_cleanup.spec.js: flagged build cleanup |
||
product not exist |
name | Y | Y | default | build/build_cleanup.spec.js: build cleanup by not exist product |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
build | dg | all | output | help | ||
id | id | default | build/build_copy.spec.js: build copy by id |
|||
sha | id | default | build/build_copy.spec.js: build copy by sha |
|||
tag | name | Y | default | build/build_copy.spec.js: build copy by tag |
||
origin | name | Y | default | build/build_copy.spec.js: build copy by origin |
||
project | name | default | build/build_copy.spec.js: build copy by project |
|||
project not exist |
project | name | default | build/build_copy.spec.js: build copy by not exist project |
||
dg not exist | id | name | default | build/build_copy.spec.js: build copy to not exist dg |
||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
build | force | confirmed | output | help | ||
id | Y | default | build/build_delete.spec.js: build delete by id |
|||
sha | Y | default | build/build_delete.spec.js: build delete by sha |
|||
tag | Y | default | build/build_delete.spec.js: build delete by tag |
|||
origin | Y | default | build/build_delete.spec.js: build delete by origin |
|||
build flagged |
id | Y | default | build/build_delete.spec.js: flagged build delete |
||
build flagged |
id | Y | Y | default | build/build_delete.spec.js: flagged build force delete |
|
dg min-sup-dep |
id | Y | Y | default | build/build_delete.spec.js: min supported build delete |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
dg | device file |
agent file |
descr | origin | tag | flagged | output | help | ||
id | name | name | Y | Y | Y | Y | json | build/build_deploy.spec.js: build deploy by dg id |
||
name | 2x | json | build/build_deploy.spec.js: build deploy by dg name |
|||||||
project | project | project | json | build/build_deploy.spec.js: build deploy by project |
||||||
help/help.spec.js: impt help pages test suite |
||||||||||
project not exist |
project | json | build/build_deploy.spec.js: build deploy by not exist project |
|||||||
d-file not exist |
id | name | json | build/build_deploy.spec.js: build deploy by not exist device group |
||||||
a-file not exist |
id | name | json | build/build_deploy.spec.js: build deploy with not exist device file |
||||||
dg not exist | name | json | build/build_deploy.spec.js: build deploy with not exist agent file |
Precondition | Command options | Test name | |||||||
---|---|---|---|---|---|---|---|---|---|
build | device file |
agent file |
device only |
agent only |
confirmed | output | help | ||
id | name | Y | Y | default | build/build_get.spec.js: build get by build id |
||||
sha | name | Y | Y | default | build/build_get.spec.js: build get by build sha |
||||
tag | name | Y | Y | default | build/build_get.spec.js: build get by build tag |
||||
origin | name | Y | Y | default | build/build_get.spec.js: build get by build origin |
||||
project | Y | default | build/build_get.spec.js: build get by project |
||||||
project not exist |
project | Y | default | build/build_get.spec.js: build get by not exist project |
|||||
id | Y | default | build/build_get.spec.js: build get without device and agent file |
||||||
id | name | Y | default | build/build_get.spec.js: build get without agent file |
|||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||
---|---|---|---|---|
build | output | help | ||
id | json | build/build_info.spec.js: build info by id |
||
sha | json | build/build_info.spec.js: build info by sha |
||
tag | json | build/build_info.spec.js: build info by tag |
||
origin | json | build/build_info.spec.js: build info by origin |
||
project | json | build/build_info.spec.js: build info by project |
||
default | Y | help/help.spec.js: impt help pages test suite |
||
project not exist |
project | json | build/build_info.spec.js: build info by not exist project |
|
build not exist |
id | json | build/build_info.spec.js: not exist build info |
Precondition | Command options | Test name | ||||||
---|---|---|---|---|---|---|---|---|
build | descr | tag | remove tag |
flagged | output | help | ||
id | defaut | build/build_update.spec.js: build update by id |
||||||
sha | Y | default | build/build_update.spec.js: build update flagged by sha |
|||||
tag | Y | default | build/build_update.spec.js: build update descr by tag |
|||||
origin | Y | default | build/build_update.spec.js: build update tag by origin |
|||||
project | Y | default | build/build_update.spec.js: build update remove tag by project |
|||||
id | 3x | default | build/build_update.spec.js: build update several tag |
|||||
id | 2x | default | build/build_update.spec.js: build update remove several tag |
|||||
default | Y | help/help.spec.js: impt help pages test suite |
||||||
project not exist |
project | default | build/build_update.spec.js: build update by not exist project |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
device | dg | confirmed | output | help | ||
id | name | Y | default | device/device_assign.spec.js: device assign to dg by name |
||
mac | id | Y | default | device/device_assign.spec.js: device assign to dg by id |
||
agent id | project | Y | default | device/device_assign.spec.js: device assign to project |
||
device assigned |
id | name | Y | default | device/device_assign.spec.js: repeat device assign |
|
default | Y | help/help.spec.js: impt help pages test suite |
||||
project not exist |
id | project | Y | default | device/device_assign.spec.js: device assign to not exist project |
|
dg not exist |
id | name | Y | default | device/device_assign.spec.js: device assign to not exist device group |
Precondition | Command options | Test name | ||
---|---|---|---|---|
device | output | help | ||
id | json | device/device_info.spec.js: device info by id |
||
mac | json | device/device_info.spec.js: device info by mac |
||
agent id | json | device/device_info.spec.js: device info by agent id |
||
name | json | device/device_info.spec.js: device info by name |
||
unassigned device |
json | device/device_info.spec.js: unassigned device info |
||
default | Y | help/help.spec.js: impt help pages test suite |
||
device not exist |
name | json | device/device_info.spec.js: not exist device info |
|
w/o value | json | device/device_info.spec.js: device info without device value |
Command options | Test name | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
owner | product | dg | dg-type | unassigned | assigned | offline | online | output | help | |
me | json | device/device_list.spec.js: device list by owner me |
||||||||
id | json | device/device_list.spec.js: device list by product id |
||||||||
name | json | device/device_list.spec.js: device list by product name |
||||||||
id | json | device/device_list.spec.js: device list by dg id |
||||||||
development | json | device/device_list.spec.js: device list by dg type |
||||||||
name | id | json | device/device_list.spec.js: device list by product name and dg id |
|||||||
x2 | json | device/device_list.spec.js: device list by two dg |
||||||||
Y | json | device/device_list.spec.js: assigned device list |
||||||||
Y | json | device/device_list.spec.js: unassigned device list |
||||||||
Y | json | device/device_list.spec.js: online device list |
||||||||
Y | json | device/device_list.spec.js: offline device list |
||||||||
Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
device | force | confirmed | output | help | ||
device unassigned |
id | Y | default | device/device_remove.spec.js: remove device by id |
||
device unassigned |
mac | Y | default | device/device_remove.spec.js: remove device by mac |
||
device unassigned |
agent id | Y | default | device/device_remove.spec.js: remove device by agent id |
||
device unassigned |
name | Y | default | device/device_remove.spec.js: remove device by name |
||
device assigned |
id | Y | Y | default | device/device_remove.spec.js: force remove assigned device |
|
device assigned |
id | Y | default | device/device_remove.spec.js: remove assigned device |
||
Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
device | conditional | log | output | help | ||
id | default | device/device_restart.spec.js: restart device by device id |
||||
mac | default | device/device_restart.spec.js: restart device by device mac |
||||
agent id | Y | default | device/device_restart.spec.js: restart device by agent id |
|||
name | default | device/device_restart.spec.js: restart device by device name |
||||
name | Y | default | device/device_restart.spec.js: restart device with log |
|||
device not exist |
name | default | device/device_restart.spec.js: restart not exist device |
|||
Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||
---|---|---|---|---|---|
device | unbond | output | help | ||
device assigned |
id | default | device/device_unassign.spec.js: unassign device by device id |
||
device assigned |
mac | default | device/device_unassign.spec.js: unassign device by device mac |
||
device assigned |
agent id | default | device/device_unassign.spec.js: unassign device by agent id |
||
device assigned |
name | default | device/device_unassign.spec.js: unassign device by device name |
||
device assigned |
name | default | device/device_unassign.spec.js: repeat unassign device |
||
default | Y | help/help.spec.js: impt help pages test suite |
|||
device not exist |
name | default | device/device_unassign.spec.js: unassign not exist device |
Precondition | Command options | Test name | |||
---|---|---|---|---|---|
device | name | output | help | ||
id | Y | default | device/device_update.spec.js: device update by device id |
||
mac | Y | default | device/device_update.spec.js: device update by device mac |
||
agent id | Y | default | device/device_update.spec.js: device update by agent id |
||
name | Y | default | device/device_update.spec.js: device update by device name |
||
default | Y | help/help.spec.js: impt help pages test suite |
|||
name | default | device/device_update.spec.js: device update without new value |
|||
Y | default | device/device_update.spec.js: device update without device value |
|||
device not exist |
name | Y | default | device/device_update.spec.js: not exist device update |
Precondition | Command options | Test name | ||||||
---|---|---|---|---|---|---|---|---|
dg | unflag | unflag old | remove | confirmed | output | help | ||
id | default | dg/device_group_builds.spec.js: dg/device_group_builds.spec.js |
||||||
name | Y | default | dg/device_group_builds.spec.js: dg/device_group_builds.spec.js |
|||||
name | Y | default | dg/device_group_builds.spec.js: dg/device_group_builds.spec.js |
|||||
project exist | project | Y | Y | default | dg/device_group_builds.spec.js: dg/device_group_builds.spec.js |
|||
project not exist | project | default | dg/device_group_builds.spec.js: dg/device_group_builds.spec.js |
|||||
dg not exist | name | default | dg/device_group_builds.spec.js: dg/device_group_builds.spec.js |
|||||
default | Y | help/help.spec.js: help/help.spec.js |
Precondition | Command options | Test name | ||||||
---|---|---|---|---|---|---|---|---|
name | dg-type | product | descr | target | output | help | ||
Y | id | Y | default | dg/device_group_create.spec.js: device group create by product id |
||||
Y | development | name | Y | default | dg/device_group_create.spec.js: device group create by product name |
|||
default | Y | help/help.spec.js: impt help pages test suite |
||||||
project exist | Y | project | Y | default | dg/device_group_create.spec.js: device group create by project |
|||
project not exist | Y | project | default | dg/device_group_create.spec.js: device group create by not exist project |
||||
dg exist already | Y | name | default | dg/device_group_create.spec.js: create duplicate device group |
||||
product not exist | Y | name | default | dg/device_group_create.spec.js: device group create by not exist product |
Precondition | Command options | Test name | |||||
---|---|---|---|---|---|---|---|
dg | builds | force | confirmed | output | help | ||
id | Y | default | dg/device_group_delete.spec.js: delete device group by id |
||||
name | Y | default | dg/device_group_delete.spec.js: delete device group by name |
||||
project exist | project | Y | default | dg/device_group_delete.spec.js: delete device group by project |
|||
name | Y | Y | default | dg/device_group_delete.spec.js: force delete device group by name |
|||
name | Y | Y | Y | default | dg/device_group_delete.spec.js: delete device group with builds |
||
project not exist | project | Y | default | dg/device_group_delete.spec.js: delete device group by not exist project |
|||
dg not exist | name | Y | default | dg/device_group_delete.spec.js: delete not exist device group |
|||
empty | Y | default | dg/device_group_delete.spec.js: delete device group by empty name |
||||
w/o value | Y | default | dg/device_group_delete.spec.js: delete device group without dg value |
||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
owner | product | dg-type | output | help | ||
me | json | dg/device_group_list.spec.js: device group list by owner me |
||||
id | json | dg/device_group_list.spec.js: device group list by owner id |
||||
name | deployment | json | dg/device_group_list.spec.js: device group list by owner name |
|||
deployment | json | dg/device_group_list.spec.js: device group list by owner email |
||||
id | json | dg/device_group_list.spec.js: device group list by product id |
||||
name | json | dg/device_group_list.spec.js: device group list by product name |
||||
2x | json | dg/device_group_list.spec.js: device group list by several product name |
||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||
---|---|---|---|---|---|
from | to | output | help | ||
id | id | default | dg/device_group_reassign.spec.js: reassign device by device group id |
||
name | name | default | dg/device_group_reassign.spec.js: reassign device by device group name |
||
name | project | default | dg/device_group_reassign.spec.js: reassign device by project |
||
from dg not exist | name | name | default | dg/device_group_reassign.spec.js: reassign device from not exist device group |
|
to dg not exist | name | name | default | dg/device_group_reassign.spec.js: reassign device to not exist device group |
|
dg without device | name | name | default | dg/device_group_reassign.spec.js: reassign not exist device |
|
project not exist | name | project | default | dg/device_group_reassign.spec.js: reassign device to not exist project |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
dg | conditional | log | output | help | ||
id | default | dg/device_group_restart.spec.js: restart device by device group id |
||||
name | Y | default | dg/device_group_restart.spec.js: restart device by device group name |
|||
project | default | dg/device_group_restart.spec.js: restart device by project |
||||
name | Y | default | dg/device_group_restart.spec.js: restart device with log display |
|||
project not exist | project | default | dg/device_group_restart.spec.js: restart device by not exist project |
|||
dg not exist | name | default | dg/device_group_restart.spec.js: restart device by not exist device group |
|||
no devices | name | default | dg/device_group_restart.spec.js: restart not exist device |
|||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||
---|---|---|---|---|---|
dg | unbond | output | help | ||
id | default | dg/device_group_unassign.spec.js: unassign device by device group id |
|||
name | default | dg/device_group_unassign.spec.js: unassign device by device group name |
|||
project exist | project | default | dg/device_group_unassign.spec.js: unassign device by project |
||
project not exist | project | default | dg/device_group_unassign.spec.js: unassign device by not exist project |
||
dg not exist | name | default | dg/device_group_unassign.spec.js: unassign device by not exist device group |
||
dg without device | name | default | dg/device_group_unassign.spec.js: unassign not exist device |
||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||||||
---|---|---|---|---|---|---|---|---|---|
dg | name | descr | target | load code | min sup depl | output | help | ||
id | default | dg/device_group_update.spec.js: dg/device_group_update.spec.js |
|||||||
name | Y | Y | default | dg/device_group_update.spec.js: dg/device_group_update.spec.js |
|||||
project exist | project | Y | Y | default | dg/device_group_update.spec.js: dg/device_group_update.spec.js |
||||
project not exist | project | Y | default | dg/device_group_update.spec.js: dg/device_group_update.spec.js |
|||||
dg not exist | name | Y | default | dg/device_group_update.spec.js: dg/device_group_update.spec.js |
|||||
default | Y | help/help.spec.js: help/help.spec.js |
Precondition | Command options | Test name | |||
---|---|---|---|---|---|
device | dg | output | help | ||
device id | default | planned | |||
mac adr | default | planned | |||
agent id | default | planned | |||
name | default | planned | |||
name | default | planned | |||
id | default | planned | |||
default | Y | help/help.spec.js: impt help pages test suite |
|||
project not exist | project | default | log/log_stream.spec.js: log stream by not exist project |
||
w/o value | default | log/log_stream.spec.js: log stream without device value |
|||
empty | default | log/log_stream.spec.js: log stream without device value |
|||
w/o value | default | log/log_stream.spec.js: log stream without dg value |
|||
device id | invalid value | log/log_stream.spec.js: log stream without output value |
|||
device id | w/o value | log/log_stream.spec.js: log stream without output value |
Precondition | Command options | Test name | |||
---|---|---|---|---|---|
pass | descr | output | help | ||
Y | Y | default | loginkey_create.spec.js: loginkey create |
||
Y | default | loginkey_create.spec.js: loginkey create without description |
|||
Y | default | loginkey_create.spec.js: loginkey create without password |
|||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
lk | pass | confirmed | output | help | ||
Y | Y | Y | default | loginkey_delete.spec.js: loginkey delete |
||
Y | Y | default | loginkey_delete.spec.js: loginkey delete without password |
|||
Y | Y | default | loginkey_delete.spec.js: loginkey delete without confirmation |
|||
lk not exist | Y | Y | Y | default | loginkey_delete.spec.js: not exist loginkey delete |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||
---|---|---|---|---|
lk | output | help | ||
lk id exist | lk id | default | loginkey_info.spec.js: loginkey info |
|
lk id not exist | lk id | default | loginkey_info.spec.js: not exist loginkey info |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |
---|---|---|---|
output | help | ||
several lk exist | json | loginkey_list.spec.js: loginkey list |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
lk | pass | descr | output | help | ||
Y | Y | Y | default | loginkey_update.spec.js: loginkey update description |
||
Y | Y | default | loginkey_update.spec.js: loginkey update without new values |
|||
Y | Y | default | loginkey_update.spec.js: loginkey update description without password |
|||
lk not exist | Y | Y | Y | default | loginkey_update.spec.js: not exist loginkey update |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||||
---|---|---|---|---|---|---|---|
product | build | force | confirmed | output | help | ||
product exist | name | Y | all | product/product_delete.spec.js: product delete by name |
|||
id | Y | all | product/product_delete.spec.js: product delete by id |
||||
name | all | product/product_delete.spec.js: product delete without confirmation |
|||||
empty | Y | all | product/product_delete.spec.js: product delete by empty name |
||||
w/o value | Y | all | product/product_delete.spec.js: product delete by name without value |
||||
product
with devicegroup |
project | Y | Y | all | product/product_delete.spec.js: product delete by project |
||
name | Y | all | product/product_delete.spec.js: delete product with devicegroup |
||||
default | Y | help/help.spec.js: impt help pages test suite |
|||||
product not exist | name | Y | all | product/product_delete.spec.js: delete not exist product |
|||
project not exist | project | Y | all | product/product_delete.spec.js: product delete by not exist project |
Precondition | Command options | Test name | ||
---|---|---|---|---|
owner | output | help | ||
product exist |
all | product/product_info.spec.js: product list |
||
me | all | product/product_info.spec.js: product list with owner by me |
||
name | all | product/product_info.spec.js: product list with owner by name |
||
all | product/product_info.spec.js: product list with owner by email |
|||
id | all | product/product_info.spec.js: product list with owner by id |
||
w/o value | all | product/product_info.spec.js: product list without owner value |
||
w/o value | product/product_info.spec.js: product list without output value |
|||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
product / create | name | descr | d-file | a-file | pre-factory | target/ create |
confirmed | output | help | ||
product exist | id | Y | Y | Y | default | project_create.spec.js: project create by product id |
|||||
name | Y | Y | Y | Y | default | project_create.spec.js: project create by product name with device file |
|||||
name | Y | Y | Y | Y | default | project_create.spec.js: project create by product name with agent file |
|||||
product not exist |
name / Y | Y | Y | Y | default | project_create.spec.js: project create with product creating |
|||||
name | Y | Y | default | project_create.spec.js: project create with not existing product |
|||||||
w/o value | Y | Y | default | project_create.spec.js: project create without product value |
|||||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||||
---|---|---|---|---|---|---|---|
entities | files | all | confirmed | output | help | ||
project exist |
Y | default | project_delete.spec.js: delete project |
||||
Y | Y | default | project_delete.spec.js: delete project with entities |
||||
Y | Y | default | project_delete.spec.js: delete project with files |
||||
Y | Y | default | project_delete.spec.js: delete project with all |
||||
Y | Y | Y | default | project_delete.spec.js: delete project with entities and files |
|||
project not exist |
Y | default | project_delete.spec.js: delete not exist project |
||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||
---|---|---|---|---|
full | output | help | ||
project exist |
json | project_info.spec.js: project info |
||
Y | json | project_info.spec.js: project full info |
||
dg not exist | Y | default | project_info.spec.js: project info with not exist device group |
|
project not exist |
default | project_info.spec.js: project info without project file |
||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||||
---|---|---|---|---|---|---|---|
dg | d-file | a -file | confirmed | output | help | ||
dg exist | id | Y | Y | default | project_link.spec.js: project link to dg by id |
||
name | Y | Y | default | project_link.spec.js: project link to dg by name |
|||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||||
---|---|---|---|---|---|---|---|---|
name | descr | d-file | a -file | target | output | help | ||
project exist |
Y | Y | Y | Y | default | project_update.spec.js: prodject update |
||
dg not exist | Y | default | project_update.spec.js: project update without project file |
|||||
project not exist |
Y | default | project_update.spec.js: project update with not exist device group |
|||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||||
---|---|---|---|---|---|---|---|
dg | url | event | mime | output | help | ||
dg exist | dg id | Y | deployment | json | default | wh_create.spec.js: webhook create by dg id |
|
name | Y | deployment | json | default | wh_create.spec.js: webhook create by dg name |
||
project | Y | deployment | urlencoded | default | wh_create.spec.js: webhook create by project |
||
name | invalid url | deployment | urlencoded | default | wh_create.spec.js: webhook create with invalid url |
||
dg not exist | name | Y | deployment | json | default | wh_create.spec.js: webhook create with not exist dg |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name> | |||
---|---|---|---|---|---|
wh | confirmed | output | help | ||
wh id exist | wh id | Y | default | wh_delete.spec.js: webhook delete |
|
w/o value | Y | default | wh_delete.spec.js: webhook delete without id |
||
wh id not exist | wh id | Y | default | wh_delete.spec.js: delete not exist webhook |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||
---|---|---|---|---|
wh | output | help | ||
wh id exist | wh id | json | wh_info.spec.js: webhook info |
|
wh id not exist | wh id | default | wh_info.spec.js: not exist webhook info |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | |||||||
---|---|---|---|---|---|---|---|---|---|
owner | product | dg | dg-type | url | event | output | help | ||
several wh id exists with different dg |
me | json | wh_list.spec.js: webhook list by owner |
||||||
id | json | wh_list.spec.js: webhook list by product id |
|||||||
name | json | wh_list.spec.js: webhook list by product name |
|||||||
id | json | wh_list.spec.js: webhook list by dg id |
|||||||
name | Y | deployment | json | wh_list.spec.js: webhook list by product name url and event |
|||||
x2 | json | wh_list.spec.js: webhook list by several url |
|||||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Command options | Test name | ||||
---|---|---|---|---|---|---|
wh | url | mime | output | help | ||
wh id exist | wh id | Y | Y | default | wh_update.spec.js: webhook update url and mime |
|
wh id | default | wh_update.spec.js: webhook update without url and mime |
||||
wh id not exist | wh id | Y | default | wh_update.spec.js: update not exist webhook |
||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Options | Test name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dg | device file |
agent file |
timeout | stop on fail |
allow disconnect |
builder cache |
test file |
github config |
builder config |
confirmed | output | help | ||
id | Y | all | test/test_create.spec.js: test create by dg id |
|||||||||||
name | Y | Y | Y | Y | Y | all | test/test_create.spec.js: test create by dg name with options |
|||||||
id | Y | Y | Y | Y | Y | Y | all | test/test_create.spec.js: test create by dg id with options |
||||||
dg not exist |
name | Y | all | test/test_create.spec.js: test create by not exist dg |
||||||||||
device file not exist |
name | Y | Y | all | test/test_create.spec.js: test create whit not exist device file |
|||||||||
agent file not exist |
name | Y | Y | all | test/test_create.spec.js: test create whit not exist agent file |
|||||||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Options | Test name | ||||||
---|---|---|---|---|---|---|---|---|
github config | builder config | entities | all | confirmed | output | help | ||
Y | all | test/test_delete.spec.js: test delete |
||||||
Y | Y | Y | Y | all | test/test_delete.spec.js: test delete with options |
|||
product with several dg |
Y | Y | all | test/test_delete.spec.js: test delete with all entities |
||||
dg not exist |
Y | Y | all | test/test_delete.spec.js: test delete with not exist dg |
||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Options | Test name | |||||
---|---|---|---|---|---|---|---|
github config | user | pwd | confirmed | output | help | ||
config not exist | Y | Y | Y | all | test/test_github.spec.js: create github config |
||
config exist | Y | all | test/test_github.spec.js: update github config |
||||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Options | Test name | |
---|---|---|---|
output | help | ||
default | test/test_info.spec.js: test info |
||
dg not exist | default | test/test_info.spec.js: test info with not exist dg |
|
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Options | Test name | |||
---|---|---|---|---|---|
test | clear cache |
output | help | ||
Y | default | test/test_run.spec.js: test run all test files |
|||
[testfile] | default | test/test_run.spec.js: test run one test file |
|||
[testfile]: [testcase] |
default | test/test_run.spec.js: test run one test case |
|||
[testfile]: [testcase]: [testmethod] |
default | test/test_run.spec.js: test run one test method |
|||
test file not exist |
[testfile] | default | test/test_run.spec.js: test run not exist test file |
||
test case not exist |
[testfile]: [testcase] |
default | test/test_run.spec.js: test run not exist test case |
||
test method not exist |
[testfile]: [testcase]: [testmethod] |
default | test/test_run.spec.js: test run not exist test method |
||
default | Y | help/help.spec.js: impt help pages test suite |
Precondition | Options | Test name | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dg | device file |
agent file |
timeout | stop on fail |
allow disconnect |
builder cache |
test file | github config |
builder config |
output | help | ||
Y | Y | Y | Y | Y | Y | Y | Y | Y | all | test/test_update.spec.js: test update all attrs |
|||
v/o value | v/o value | v/o value | v/o value | all | test/test_update.spec.js: test update remove attrs |
||||||||
dg not exist |
Y | all | test/test_update.spec.js: test update to not exist dg |
||||||||||
file not exist |
Y | all | test/test_update.spec.js: test update to not exist device file |
||||||||||
file not exist |
Y | all | test/test_update.spec.js: test update to not exist agent file |
||||||||||
default | Y | help/help.spec.js: impt help pages test suite |