You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've thought recently about rewriting part of my code to use (almost, because escaping is still useful for security) raw SQL instead of ActiveRecord code. Of course that would result in the raw SQL strings not being covered by mutation tests. Have you ever thought about mutating SQLs, or maybe more reasonably, having ability to integrate with external tooling which could mutate SQL queries (or something very close to them, because again, escaping). SQL could be differentiated from other strings by using specific heredoc 😉 More like a dream/discussion than the feature suggestion, but I'm curious whether you were thinking about it at any point.
The text was updated successfully, but these errors were encountered:
@swistak35 I've got a private POC but not a full tool for SQL mutations. I need to find time during a sabattical to work on it. Note it would be commercial only with free for OSS model just like mutant.
I've thought recently about rewriting part of my code to use (almost, because escaping is still useful for security) raw SQL instead of
ActiveRecord
code. Of course that would result in the raw SQL strings not being covered by mutation tests. Have you ever thought about mutating SQLs, or maybe more reasonably, having ability to integrate with external tooling which could mutate SQL queries (or something very close to them, because again, escaping). SQL could be differentiated from other strings by using specific heredoc 😉 More like a dream/discussion than the feature suggestion, but I'm curious whether you were thinking about it at any point.The text was updated successfully, but these errors were encountered: