Runs unit tests for an addon or component.
_addon | Prefix of addon to test [String, defaulting to “cba”]. |
_component | Name of component to test. If “main”, will test the whole addon [String, defaulting to “main”]. |
nil
[] 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.
Spooner