/
QLC-3) Writing Results to a File
QLC-3) Writing Results to a File
The scores must be written out to a file in the following format
<topic>, <score><CR/LF>
<topic>, <score><EOF>
Example
Maths, 67
Physics, 89
Use the technique you have learnt in QL-3 and QL-4 to write a test that stipulates what is expected in the output file. A file should not be created. All verification should be done in the tests.
, multiple selections available,
Related content
QL-5) Working with Untestable Code.
QL-5) Working with Untestable Code.
Read with this
Untestable Code - Thoughts Snippets.
Untestable Code - Thoughts Snippets.
Read with this
TDD FileLoader v1.0.
TDD FileLoader v1.0.
Read with this