Since the MacroServer is usually started by Astor,
error messages are not immediately visible to someone
Therefore a tool has been created to overcome this deficiency.
visits all directories in the MacroPath (MacroServer property)
and tries to import all Macros. It reports Python errors
and conflicting names of Macro libraries and classes.
$ SardanaMacroTester.py --help usage: SardanaMacroTester.py [-h] [-a] [-f FILENAME] import all macros from MacroPath and report - Python errors - conflicting macro library names - conflicting class names optional arguments: -h, --help show this help message and exit -a show all loaded macros -f FILENAME examine a single file Examples: SardanaMacroTester.py show only errors and conflicts SardanaMacroTester.py -a show all loaded macros and errors and conflicts SardanaMacroTester.py -f fName.py examine a single file, perform only Python tests