buildtest.cli.inspect

This module implements methods for buildtest inspect command that can be used to retrieve test record from report file in JSON format.

Module Contents

Functions

get_all_ids(report)

Return all unique test ids from report cache

inspect_by_id(test_ids, report, args)

inspect_by_name(report, names)

Implements command buildtest inspect name which will print all test records

inspect_cmd(args)

Entry point for buildtest inspect command

inspect_list(test_ids)

Implements method buildtest inspect list

buildtest.cli.inspect.get_all_ids(report)

Return all unique test ids from report cache

Parameters

report (dict) – loaded report file in JSON format

Returns

a dictionary returning a list of unique test IDs

Return type

dict

buildtest.cli.inspect.inspect_by_id(test_ids, report, args)
buildtest.cli.inspect.inspect_by_name(report, names)

Implements command buildtest inspect name which will print all test records by given name in JSON format.

buildtest.cli.inspect.inspect_cmd(args)

Entry point for buildtest inspect command

buildtest.cli.inspect.inspect_list(test_ids)

Implements method buildtest inspect list