Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL mutations #1360

Open
swistak35 opened this issue Dec 15, 2022 · 1 comment
Open

SQL mutations #1360

swistak35 opened this issue Dec 15, 2022 · 1 comment
Labels

Comments

@swistak35
Copy link

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.

@mbj
Copy link
Owner

mbj commented Jun 6, 2023

@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.

@mbj mbj added the mutation label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants