Use the vstvalidator (included in the sdk, see public.sdk/samples/vst/validator/. It’s exactly what you want.
Cheers Arne