@TypeExcludeFilters
isn't declared as @Inherited
, so I can't use the annotation on test superclasses.
There is a workaround currently to create a custom meta-annotation marked @Inherited
and add @TypeExcludeFilters
there, but I actually wouldn't see any harm to add Inherited directly. Most annotations in Spring and elsewhere are Inherited, so it actually took me by surprise and I spent 30-60 min wondering what was not working in my setup.