execute spec with namespace or file path.