It depends on the specific use case and requirements of the application.
In general, calling db:seed
from 'db:test:prepare` can be helpful in setting up the test environment with the desired data, but it may also lead to longer test runtime and unwanted dependencies.
It’s best to have a clear understanding of what data is required for the tests and make a conscious decision on whether to include the seed data or not. I hope your query will be solved if you need further help you can ask anytime.