mutant
mutant copied to clipboard
SQL mutations
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 :wink: More like a dream/discussion than the feature suggestion, but I'm curious whether you were thinking about it at any point.
@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.