AutoworkCollector๏
Experimental: Some methods may not be implemented and may be changed in future versions.
Inherits: RefCounted < Object
Collects and manages test scripts for execution.
Description๏
The AutoworkCollector is responsible for discovering, registering, and storing test scripts used by the Autowork framework.
It supports both manual registration of scripts and automatic discovery by scanning directories.
The collector does not execute tests itself, but instead provides a centralized list of scripts that contain test definitions.
Methods๏
void |
add_script(path: String) |
get_scripts() const |
|
void |
process_directory(path: String) |
Method Descriptions๏
void add_script(path: String) ๐
Adds a script to the collection.
The script at path is registered as a potential source of test cases.
Array get_scripts() const ๐
Returns an Array containing all collected script paths.
void process_directory(path: String) ๐
Searches the directory at path for test scripts and adds them to the collection.