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

Expand complex predicates into simpler conditional, then mutate #16

Open
dkubb opened this issue Jan 21, 2013 · 1 comment
Open

Expand complex predicates into simpler conditional, then mutate #16

dkubb opened this issue Jan 21, 2013 · 1 comment

Comments

@dkubb
Copy link
Collaborator

dkubb commented Jan 21, 2013

One thing I've found when specifying compound statements like foo <= bar is that to test it properly, I need to expand it into foo < bar || foo == bar, then mutate that statement. Simply changing the sign does not expose all possible mutations.

It would be nice for mutant to expand those statements first, then mutate the expanded expression.

@mbj
Copy link
Owner

mbj commented Jan 21, 2013

I like this mutation. We could first emit the mutation from: foo <= bar to foo < bar || foo == bar as neutral mutation, and then the mutations of the expansion as evil ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants