Methods
-
<static> checkTestrail(cb)
-
Check testrail cases consistency with implemented tests.
Parameters:
Name Type Description cb
function Callback function.
-
<static> fakeLoad()
-
Make fake load of tests in order to collect tests, fixtures, steps, etc.
-
<static> listFixtures( [filter] [, namesOnly])
-
Get list of available fixtures.
Parameters:
Name Type Argument Default Description filter
string <optional>
String chunk to filter fixtures.
namesOnly
boolean <optional>
false Flag to filter by fixture names only.
Returns:
- Type
- array.<object>
-
<static> listPlugins()
-
Print list of available plugins.
-
<static> listSteps( [filter] [, namesOnly])
-
Get list of steps data, where step data is an object with keys:
name
- name of step,decription
- short details of steps,doc
- documentation of step.Parameters:
Name Type Argument Default Description filter
string <optional>
String chunk to filter steps.
namesOnly
boolean <optional>
false Flag to filter by step names only.
Returns:
- Type
- array.<object>
-
<static> listTests( [filter])
-
Print list of implemented test cases.
Parameters:
Name Type Argument Description filter
string <optional>
String chunk to filter test cases.
-
<static> printFixtures( [filter] [, namesOnly])
-
Print list of fixtures in stdout.
Parameters:
Name Type Argument Default Description filter
string <optional>
String chunk to filter fixtures.
namesOnly
boolean <optional>
false Flag to filter by fixture names only.
-
<static> printSteps( [filter] [, namesOnly])
-
Print list of steps in stdout.
Parameters:
Name Type Argument Default Description filter
string <optional>
String chunk to filter steps.
namesOnly
boolean <optional>
false Flag to filter by step names only.