CBA_fnc_test

Description

Runs unit tests for an addon or component.

Parameters

_addonPrefix of addon to test [String, defaulting to “cba”].
_componentName of component to test.  If “main”, will test the whole addon [String, defaulting to “main”].

Returns

nil

Examples

[] call CBA_fnc_test; // Test whole of CBA addon.
[nil, "arrays"] call CBA_fnc_test; // Test Arrays component of CBA addon.
["SPON_Map"] call CBA_fnc_test; // Test whole of SPON_Map addon.
["SPON_Map", "drawing"] call CBA_fnc_test; // Test Drawing component of SPON_Map addon.

Author

Spooner

Close