AutoworkConfig๏ƒ

Experimental: Some methods may not be implemented and may be changed in future versions.

Inherits: RefCounted < Object

Handles configuration options for the Autowork test framework.

Description๏ƒ

The AutoworkConfig class is responsible for managing configuration options used by the Autowork testing framework.

It provides functionality to load, modify, apply, and persist configuration settings.

These options can control aspects such as test discovery, filtering, logging behavior, and execution settings.

Configurations can be defined programmatically using dictionaries or loaded from external files, making it easier to share and reuse test setups across projects.

Methods๏ƒ

void

apply_options(runner: Autowork)

Dictionary

get_options() const

void

load_options(file_path: String)

void

set_options(options: Dictionary)

void

write_options(file_path: String)


Method Descriptions๏ƒ

void apply_options(runner: Autowork) ๐Ÿ”—

Applies the stored configuration options to the given runner.


Dictionary get_options() const ๐Ÿ”—

Returns the currently stored configuration options.


void load_options(file_path: String) ๐Ÿ”—

Loads configuration options from a file.


void set_options(options: Dictionary) ๐Ÿ”—

Sets the configuration options manually.


void write_options(file_path: String) ๐Ÿ”—

Writes the current configuration options to a file.