Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude_tests does not exclude serializer tests #1023

Open
AndyObtiva opened this issue Jul 16, 2024 · 0 comments
Open

exclude_tests does not exclude serializer tests #1023

AndyObtiva opened this issue Jul 16, 2024 · 0 comments

Comments

@AndyObtiva
Copy link

AndyObtiva commented Jul 16, 2024

Describe your problem here.

Commands

rails db:migrate

Version

  • annotate version: 3.2.0
  • rails version: 7.0.8
  • ruby version: 3.1.4

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant