You can generate WebdriverIO JSON results by Adding it to the
reporters in your
wdio.config.js file. Read more about
exporting WebdriverIO results to Calliope here.
Learn by example
Check out our example WebdriverIO repository.
capabilities: Added as a result or as "result json_data", depending if there are more than one results.
framework: Required to make a distinction between Mochawesome reports.
suites: Calliope loops through the suites.
name: Used as Container title.
sessionId: Used for Description of the container.
tests: Calliope loops through those together with the
hooksto generate results.
hooks: Calliope loops through those together with the
teststo generate results.
Tests and hooks¶
name: Used as title of the result.
start: Used to determine the order of the results.
duration: Used in duration for results.
state: Used for the status of the result.
error: Used as exception_name.
standardError: Used as exception_description.
associatedSuite: Used in the description of results.