mbj / mutant

Automated code reviews via mutation testing - semantic code coverage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add mutation to ensure stronger persistence method is used

dkubb opened this issue · comments

Currently we are using mutant on a rails project, and we would like the following mutation operators:

#save   -> #save!
#create -> #create!
#update -> #update!

This would force us to justify why we are using the weaker operator if it is required, otherwise use the stronger.