-
Notifications
You must be signed in to change notification settings - Fork 1
Deliverable 5
Deliverable 5
For deliverable 5, team IsntThisFun designed and injected five faults into Beets’ source code, which we planned to cause at least five tests to fail, but not all, following the deliverable specifications. We decided to inject one fault into each of our five methods.
The first function Team IsntThisFun added faults to was human_bytes. Within this function, we changed the string which indicates the memory size unit from 'iB' to 'iBytes'.
This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails, as shown below, because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.
The second function Team IsntThisFun added faults to was human_bytes. Within this function, we changed the string which indicates the memory size unit from 'iB' to 'iBytes'. This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.
This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.
The third function Team IsntThisFun added faults to was human_bytes. Within this function, we changed the string which indicates the memory size unit from 'iB' to 'iBytes'. This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.
This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.
The fourth function Team IsntThisFun added faults to was human_bytes. Within this function, we changed the string which indicates the memory size unit from 'iB' to 'iBytes'.
This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.
The fifth function Team IsntThisFun added faults to was human_bytes. Within this function, we changed the string which indicates the memory size unit from 'iB' to 'iBytes'. This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.
This change affects all tests cases with a memory unit value above 1023. Therefore test case 1d fails because the expected value '1.9 GiB' is not equal to the new value of '1.9 GiBytes'.