You can probably do filebot -list like what you're doing in your other thread and then check the output. We could in theory check for syntax errors ahead-of-time, but checking for runtime errors requires test runs. Some runtime errors may be specific to the code path taken. You are probably interested in the latter.
You could make your own unit tests, e.g. by using make and a makefile with test commands:
Is there a way to do it including actual files (this would be useful for video and audio mediainfo)?
I'd like the output to be as simple as possible, like a single line with the final file name.
I only work in black and sometimes very, very dark grey. (Batman)