Skip to content

Latest commit

 

History

History
7448 lines (7299 loc) · 198 KB

TestMatrix.md

File metadata and controls

7448 lines (7299 loc) · 198 KB

impt Test Summary Table

Introduction

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.

List Of Non-Covered Features

  • Production features, including pre-factory, pre-production, factory and production device group types.
  • Collaboration features.
  • Positive tests for impt log stream.
  • Tests for interactive user input.
  • Tests for builds identification by sha attribute.

List Of Tested Commands

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 log get
impt log stream

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

Impt account command group

account info

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
email 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

account list

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

Impt auth command group

auth info

Precondition Command options Test name
auth env temp endpoint output help
not
auth
IMPT_AUTH_FILE_PATH default auth/auth_environment.spec.js:
auth file path env info
IMPT_AUTH_FILE_PATH
IMPT_LOGINKEY
default auth/auth_environment.spec.js:
auth file path with loginkey env info
IMPT_AUTH_FILE_PATH
IMPT_USER
default auth/auth_environment.spec.js:
auth file path with user env info
IMPT_LOGINKEY default auth/auth_environment.spec.js:
auth loginkey env info
IMPT_LOGINKEY
IMPT_ENDPOINT
default auth/auth_environment.spec.js:
auth loginkey with endpoint env info
IMPT_LOGINKEY
IMPT_USER
default auth/auth_environment.spec.js:
auth loginkey with user env info
IMPT_USER
IMPT_PASSWORD
default auth/auth_environment.spec.js:
auth user pass env info
IMPT_USER
IMPT_PASSWORD
IMPT_ENDPOINT
default auth/auth_environment.spec.js:
auth user pass with endpoint env info
IMPT_USER default auth/auth_environment.spec.js:
auth user without password env info
default auth/auth_user_pwd.spec.js:
auth info without login
default Y help/help.spec.js:
impt help pages test suite
global
user/pass
default auth/auth_user_pwd.spec.js:
global auth info
Y default auth/auth_user_pwd.spec.js:
global temp auth info
Y default auth/auth_user_pwd.spec.js:
global endpoint auth info
IMPT_AUTH_FILE_PATH default auth/auth_environment.spec.js:
auth file path env and global auth info
IMPT_LOGINKEY default auth/auth_environment.spec.js:
auth loginkey env and global auth info
IMPT_USER default auth/auth_environment.spec.js:
auth user pass env and global auth info
IMPT_PASSWORD default auth/auth_environment.spec.js:
auth pass env and global auth info
global
login key
default auth/auth_loginkey.spec.js:
global loginkey auth info
Y default auth/auth_loginkey.spec.js:
global temp loginkey auth info
Y default auth/auth_loginkey.spec.js:
global loginkey with endpoint auth info
local
login key
default auth/auth_loginkey.spec.js:
local loginkey auth info
local
user/pass
default auth/auth_user_pwd.spec.js:
local auth info
IMPT_AUTH_FILE_PATH default auth/auth_environment.spec.js:
auth file path env and local auth info
IMPT_LOGINKEY default auth/auth_environment.spec.js:
auth loginkey env and local auth info
IMPT_USER default auth/auth_environment.spec.js:
auth user env and local auth info
w/o value auth/auth_user_pwd.spec.js:
auth info without output value

auth login

Precondition Command options Test name
auth local temp endpoint confirmed output help
not
auth
user
pass
default auth//auth_user_pwd.spec.js:
global login
user
pass
Y default auth/auth_user_pwd.spec.js:
global login with confirm
user
pass
Y default auth/auth_user_pwd.spec.js:
global login with endpoint
user
pass
Y Y default auth/auth_user_pwd.spec.js:
global login with endpoint and confirm
user
pass
Y default auth/auth_user_pwd.spec.js:
global temp login
user
pass
Y Y default auth/auth_user_pwd.spec.js:
global temp login with confirm
user
pass
Y Y default auth/auth_user_pwd.spec.js:
global temp login with endpoint
user
pass
Y Y Y default auth/auth_user_pwd.spec.js:
global temp login with endpoint and confirm
user
pass
Y default auth/auth_user_pwd.spec.js:
local login
user
pass
Y Y default auth/auth_user_pwd.spec.js:
local login with confirm
user
pass
Y Y default auth/auth_user_pwd.spec.js:
local login with endpoint
user
pass
Y Y Y default auth/auth_user_pwd.spec.js:
local login with endpoint and confirm
user
pass
Y Y default auth/auth_user_pwd.spec.js:
local temp login
user
pass
Y Y Y default auth/auth_user_pwd.spec.js:
local temp login with confirm
user
pass
Y Y Y default auth/auth_user_pwd.spec.js:
local temp login with endpoint
user
pass
Y Y Y Y default auth/auth_user_pwd.spec.js:
local temp login with endpoint and confirm
user
pass
w/o value auth/auth_user_pwd.spec.js:
login without output argument
user
pass
w/o value default auth/auth_user_pwd.spec.js:
login without endpoint argument
user
pass
w/o value
default auth/auth_user_pwd.spec.js:
login without user/password
lk default auth/auth_loginkey.spec.js:
global loginkey login by loginkey
lk Y default auth/auth_loginkey.spec.js:
global temp loginkey login by loginkey
lk Y default auth/auth_loginkey.spec.js:
global loginkey login by loginkey with endpoint
lk Y Y default auth/auth_loginkey.spec.js:
local temp loginkey login by loginkey
lk Y Y default auth/auth_loginkey.spec.js:
local loginkey login by loginkey with endpoint
lk Y Y default auth/auth_loginkey.spec.js:
global temp loginkey login by loginkey with endpoint
lk w/o value default auth/auth_loginkey.spec.js:
global loginkey login without loginkey
default Y help/help.spec.js:
impt help pages test suite
global
user/pass
user
pass
Y default auth/auth_user_pwd.spec.js:
repeated global login with confirm
user
pass
Y Y default auth/auth_user_pwd.spec.js:
repeated global login with endpoint and confirm
user
pass
Y Y default auth/auth_user_pwd.spec.js:
repeated global temp login with confirm
user
pass
Y Y Y default auth/auth_user_pwd.spec.js:
repeated global temp login with endpoint and confirm
lk Y Y default auth/auth_loginkey.spec.js:
repeated global temp loginkey login with confirm
lk Y Y default auth/auth_loginkey.spec.js:
repeated global loginkey login with endpoint and confirm
lk Y Y Y default auth/auth_loginkey.spec.js:
repeated local temp loginkey login with confirm
global
login key
user
pass
Y default auth/auth_loginkey.spec.js:
repeated global login with confirm
user
pass
Y Y default auth/auth_loginkey.spec.js:
repeated global login with endpoint and confirm
user
pass
Y Y default auth/auth_loginkey.spec.js:
repeated global temp login with confirm
user
pass
Y Y default auth/auth_loginkey.spec.js:
repeated local login with confirm
user
pass
Y Y Y default auth/auth_loginkey.spec.js:
repeated local login with endpoint and confirm
user
pass
Y Y Y default auth/auth_loginkey.spec.js:
repeated local temp login with confirm
local
user/pass
user
pass
Y Y default auth/auth_user_pwd.spec.js:
repeated local login with confirm
user
pass
Y Y Y default auth/auth_user_pwd.spec.js:
repeated local login with endpoint and confirm
user
pass
Y Y Y default auth/auth_user_pwd.spec.js:
repeated local temp login with confirm
user
pass
Y Y Y Y default auth/auth_user_pwd.spec.js:
repeated local temp login with endpoint and confirm

auth logout

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

Impt build command group

build cleanup

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

build copy

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

build delete

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

build deploy

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

build get

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

build info

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

build list

Precondition Command options Test name
owner product dg dg
type
sha tag flagged unflagged non
zombie
zombie output help
me development *json build/build_list.spec.js:
build list by owner me and dg type
id id *json build/build_list.spec.js:
build list by owner id and product id
name name *json build/build_list.spec.js:
build list by owner name and product name
email id *json build/build_list.spec.js:
build list by owner email and dg id
name Y *json build/build_list.spec.js:
build list by dg name and sha
Y Y *json build/build_list.spec.js:
build list by sha and tag
2x *json build/build_list.spec.js:
build list by several tags
id Y *json build/build_list.spec.js:
build list by product id and flagged
id Y *json build/build_list.spec.js:
build list by product id and unflagged
id Y *json build/build_list.spec.js:
build list by product id and zombie
id Y *json build/build_list.spec.js:
build list by product id and not zombie
owner
not exist
name *json build/build_list.spec.js:
build list by not exist owner
default Y help/help.spec.js:
impt help pages test suite

build run

Precondition Command options Test name
dg device
file
agent
file
descr origin tag flagged cond
restart
log output help
id name name Y Y Y Y json build/build_run.spec.js:
build run by dg id
name 2x Y json build/build_run.spec.js:
build run by dg name
project project project Y json build/build_run.spec.js:
build run by project
default Y help/help.spec.js:
impt help pages test suite
project
not exist
project json build/build_run.spec.js:
build run by not exist project
d-file
not exist
name name json build/build_run.spec.js:
build run with not exist device file
a-file
not exist
name name json build/build_run.spec.js:
build run with not exist agent file
dg
not exist
name json build/build_run.spec.js:
build run by not exist device group
w/o value json build/build_run.spec.js:
build run without dg value
name w/o value json build/build_run.spec.js:
build run without device file value
name w/o value json build/build_run.spec.js:
build run without agent file value
name w/o value json build/build_run.spec.js:
build run without description value
name w/o value json build/build_run.spec.js:
build run without origin value
name w/o value json build/build_run.spec.js:
build run without tag value

build update

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

Impt device command group

device assign

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

device info

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

device list

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

device remove

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

device restart

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

device unassign

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

device update

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

Impt dg command group

device group builds

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

device group create

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

device group delete

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

device group info

Precondition Command options Test name
dg full output help
id json dg/device_group_info.spec.js:
device group info by id
name Y json dg/device_group_info.spec.js:
device group full info by name
{me}{id}{id} Y json dg/device_group_info.spec.js:
device group full info by id and owner me
{name}{id}{id} Y json dg/device_group_info.spec.js:
device group full info by id and owner name
{email}{id}{id} Y json dg/device_group_info.spec.js:
device group full info by id and owner email
{id}{id}{id} Y json dg/device_group_info.spec.js:
device group full info by id and owner id
{me}{name}{id} Y json dg/device_group_info.spec.js:
device group full info by id and product name
{me}{name}{name} Y json dg/device_group_info.spec.js:
device group full info by name and product name
project exist project Y json dg/device_group_info.spec.js:
device group full info by project
project not exist project json dg/device_group_info.spec.js:
device group info by not exist project
dg not exist name Y json dg/device_group_info.spec.js:
not exist device group info
{name}{name} json dg/device_group_info.spec.js:
hierarchical dg id without owner
{}{name}{name} json dg/device_group_info.spec.js:
hierarchical dg id with empty owner
{me}{}{name} json dg/device_group_info.spec.js:
hierarchical dg id with empty product
{me}{name}{} json dg/device_group_info.spec.js:
hierarchical dg id with empty dg
default Y help/help.spec.js:
impt help pages test suite

device group list

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
email 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

device group reassign

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

device group restart

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

device group unassign

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

device group update

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

Impt log command group

log get

Precondition Command options Test name
device p-size p-num output help
one device in project project default log/log_get.spec.js:
log get by project
device id default log/log_get.spec.js:
log get by device id
mac adr default log/log_get.spec.js:
log get by device mac
agent id default log/log_get.spec.js:
log get by agent id
name default log/log_get.spec.js:
log get by device name
device id 4 default log/log_get.spec.js:
log get with page size
device id 4 3 default log/log_get.spec.js:
log get with page size and number
default Y help/help.spec.js:
impt help pages test suite
project not exist project default log/log_get.spec.js:
log get by not exist project
w/o value default log/log_get.spec.js:
log get without device value
empty default log/log_get.spec.js:
log get without device value
device id -4;0 default log/log_get.spec.js:
log get with incorrect page size value
device id -3;0 default log/log_get.spec.js:
log get with incorrect page number value
device id w/o value default log/log_get.spec.js:
log get without size and num values
device id w/o value default log/log_get.spec.js:
log get without size and num values
device id invalid value log/log_get.spec.js:
log get without output value
device id w/o value log/log_get.spec.js:
log get without output value

log stream

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

Impt login key command group

login key create

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

login key delete

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

login key info

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

login key list

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

login key update

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

Impt product command group

product create

Precondition Command options Test name
name descr owner output help
descr exist Y Y all product/product_create.spec.js:
product create with duplicated description
name not exist Y Y all product/product_create.spec.js:
product create
Y all product/product_create.spec.js:
product create without description
Y Y id all product/product_create.spec.js:
product create for owner by id
Y Y name all product/product_create.spec.js:
product create for owner by name
Y Y email all product/product_create.spec.js:
product create for owner by email
Y Y me all product/product_create.spec.js:
product create for owner by me
Y w/o value product/product_create.spec.js:
product create without output value
Y undefined product/product_create.spec.js:
product create without output value
Y empty all product/product_create.spec.js:
product create with empty description
name exist Y all product/product_create.spec.js:
create duplicated product
Y Y all product/product_create.spec.js:
create duplicated product with description
all product/product_create.spec.js:
product create without name
Y all product/product_create.spec.js:
product create without name
empty all product/product_create.spec.js:
product create with empty name
w/o value all product/product_create.spec.js:
product create with empty name
Y w/o value all product/product_create.spec.js:
product create without description value
all Y help/help.spec.js:
impt help pages test suite

product delete

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

product info

Precondition Command options Test name
product full output help
product
exist
name all product/product_info.spec.js:
product info by name
id all product/product_info.spec.js:
product info by id
project all product/product_info.spec.js:
product info by project
name Y all product/product_info.spec.js:
product full info by name
{me}{id} all product/product_info.spec.js:
product info by id and owner me
{name}{id} all product/product_info.spec.js:
product info by id and owner name
{email}{id} all product/product_info.spec.js:
product info by id and owner email
{id}{id} all product/product_info.spec.js:
product info by id and owner id
{id}{name} all product/product_info.spec.js:
product info by name and owner id
name w/o value product/product_info.spec.js:
product info without output value
all product/product_info.spec.js:
product info without product name
empty all product/product_info.spec.js:
product info with empty product name
w/o value all product/product_info.spec.js:
product info with empty product name
{name} all product/product_info.spec.js:
hierarchical product id without owner
{}{name} all product/product_info.spec.js:
hierarchical product id with empty owner
{me}{} all product/product_info.spec.js:
hierarchical product id with empty product
{me}{name}{} all product/product_info.spec.js:
hierarchical product id with excess field
product
not exist
name all product/product_info.spec.js:
not exist product info
default Y help/help.spec.js:
impt help pages test suite

product list

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
email 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

product update

Precondition Command options Test name
product name descr output help
product
exist
name Y all product/product_update.spec.js:
update product name
name Y all product/product_update.spec.js:
update product description
name Y Y all product/product_update.spec.js:
update product name and description
name empty all product/product_update.spec.js:
update product to empty description
id Y all product/product_update.spec.js:
update product name by id
project Y all product/product_update.spec.js:
update product name and description by project
name all product/product_update.spec.js:
update product without new values
name empty all product/product_update.spec.js:
update product to empty name
name w/o value all product/product_update.spec.js:
update product to name without value
name w/o value all product/product_update.spec.js:
update product to description without value
empty Y all product/product_update.spec.js:
update product by empty name
w/o value Y all product/product_update.spec.js:
update product by name without value
name Y w/o value product/product_update.spec.js:
update product without output value
product
not exist
name Y all product/product_update.spec.js:
update not existing product
default Y help/help.spec.js:
impt help pages test suite

Impt project command group

project create

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

project delete

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

project info

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

project link

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

project update

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

Impt webhook command group

webhook create

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

webhook delete

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

webhook info

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

webhook list

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

webhook update

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

Impt test command group

test create

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

test delete

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

test github

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

test info

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

test run

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

test update

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