Skip to content

Infection mutates boolean values in annotations #11080

Discussion options

You must be logged in to vote

It's a pretty interesting case for catching mutants when it comes to ORM. They indicate the configuration that creates the schema of the database, tables and columns instead of being the usual runtime code. The tests that will be mutated are usually testing the features and functionality of the application's code and because the attributes in question are connected to the created database, you definitely won't come far with unit tests.

If you have tests that are using a database, you would usually test your implementation doing write and read access to the database. The thing with an application is that you wouldn't necessarily let data be written into a database without validation, that …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by delolmo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants