ctran / annotate_models

Annotate Rails classes with schema and routes info
Other
4.43k stars 622 forks source link

exclude_tests does not exclude serializer tests #1023

Open AndyObtiva opened 4 months ago

AndyObtiva commented 4 months ago

Describe your problem here.

Commands

rails db:migrate

Version

When I set 'exclude_serializers' => false, 'exclude_tests' => true,, I still get annotations generated for serializer test files like TagSerializerTest on top of getting annotations generated for serializer files like TagSerializer. BTW, non-serializer tests do NOT get any annotations generated (as expected).

What is expected is to get annotations generated for serializer file only (e.g. TagSerializer).