Testing Rails loggers with minitest

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 #minitest #testing https://rubyonrails.ba/single/testing-rails-loggers-with-minitest

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles