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)

Array

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.