The Framework module is responsible for the execution of checker bundles, result poolers and result reporters, based
upon a defined configuration file. The main executable is implemented in the runtime submodule.
Input configuration file need to respect the config xsd schema
The runtime module execute the following steps:
- Validate input xml file given the schema
- For each checker bundle specified in configuration, execute its process
- Execute result pooling for collect results from all checker bundle executed in step 2
- For each report module specified in configuration, execute its process
The ASAM QC Framework can be installed using pip.
From PyPi
pip install asam-qc-frameworkFrom GitHub Repository
pip install asam-qc-framework@git+https://github.com/asam-ev/qc-framework@main#subdirectory=qc_frameworkThe above command will install asam-qc-framework from the main branch. If you want to install asam-qc-framework from another branch or tag, replace @main with the desired branch or tag.
From a local repository
# From reporsitory root
pip install ./qc_frameworkThen, it can be executed as follows.
qc_runtime --config=$PATH_TO_CONFIG_FILE --manifest=$PATH_TO_MANIFEST_FILEwhere
$PATH_TO_CONFIG_FILEpoints to an xml file following the config xsd schema$PATH_TO_MANIFEST_FILEpoints to the manifest file of the framework.
All the files generated during the runtime execution, including result files and report files, will be saved in the output folder qc-output-YYYY-MM-DD-HH-MM-SS-*.
Alternatively, users can specify a specific output folder for the runtime using the argument --working_dir.
qc_runtime --config=$PATH_TO_CONFIG_FILE --manifest=$PATH_TO_MANIFEST_FILE --working_dir=$PATH_TO_OUTPUT_FOLDER