Closed martinezmatias closed 1 year ago
Actually, for each class we have, we should have a test unit that evaluates, at least, one input.
For example, in this commit I took existing code and put on a new test. Furthermore, I added an assertion: See here: https://github.com/tipeXwins/TFG-LMBugFixing/pull/8/commits/3db7b33f6c5a422e3d8aac53bc5906ddbfea51b0
Some code that exercice the app could be moved to a test case, which in turn can test the behaviour. I'd recommend to use PyTest framework. Examples here: https://realpython.com/pytest-python-testing/
I will push an example soon