I am new to testing and writing unit tests. I came upon this mutation framework called Stryker. I liked it as I am writing better test cases with it which helps me cover all use cases.
During some test cases mutation I come across Equality Mutation or String Mutation. I am confused on what these are?
Example
if (file.Length < 10) // Equality Mutation Here
{
throw new ArgumentException("The file name was too short", "file"); // String Mutation Here with the filename is too short
//throw new System.IO.FileNotFoundException();
}
What are these and why does it give it to me? Is there any significance?
I know my question may be very beginners level.