Documenting changes in java files

OG 12/10/2023 15:35

After receiving feedback on the checkpoint exercise today, I realised that the best way to show version changes is to add them to the top of the changed file.  For example:

/**
* 10/10/2023 Version 2 added new feature             
* 12/10/2023 Version 3 fixed broken feature
*/

This would make it easier to reference in the test log when the test is rerun.

Test IDInputExpected ResultActual ResultCommentPass/Fail
E1<Enter>Invalid selection, try againCrashFail
E2<Enter>Invalid selection, try again“Invalid selection, try again”Fixed in Version 3Pass

Leave a Reply

Your email address will not be published. Required fields are marked *