Skip to content

Deliverable 5

Zack edited this page Nov 18, 2015 · 10 revisions

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'.

Original Result

Result After Fault


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'.

Original Result

Result After Fault


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'.

Original Result

Result After Fault


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'.

Original Result

Result After Fault


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'.

Original Result

Result After Fault

Clone this wiki locally