Vasfed / routes_coverage

Routes coverage for rails request/integration/capybara tests
MIT License
16 stars 3 forks source link

production usage #8

Open krtschmr opened 2 years ago

krtschmr commented 2 years ago

hi just stumbled across this gem. any chance it can be used in production, similar to https://github.com/danmayer/coverband ?

Vasfed commented 2 years ago

Hi) Current version cannot, because it lacks data export and collation of such exports. I think first step in this direction would be to add support for multiple process CI (like simplecov does).

But in general, since collection is done via a middleware - running in production can be achievable. Not long ago I had experience with debug data collection under high load in https://github.com/Vasfed/deprecation_collector so this feature may be coming once. Main problem would be preventing overhead and related load (especially during saving data - when we tried using coverband in our project, it was the first time I saw a redis cluster failing to cope with load)