Testing Rails loggers with minitest
13-Jan-2023 919
Having good logs around can give you insight into what's currently happening in your application. It also gives you some track record to react to users' inquiries and issue reports.And in a way, logging is also a type of behavior. It's not as user-facing as things that happen in the UI, but it's internal usage. Good logging might very well be part of the requirements of a feature that you are building, especially if it's a backend-heavy feature or refactoring. Sometimes a specific log message is even the only behavior that is happening:.
Testing Rails loggers with minitest #ruby #rubydeveloper #rubyonrails #Testing #Rails #loggers #minitest #minitest #testing https://rubyonrails.ba/link/testing-rails-loggers-with-minitest