tipeXwins / PipeLLMine

0 stars 0 forks source link

Use of Test cases #7

Closed martinezmatias closed 1 year ago

martinezmatias commented 1 year ago

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

martinezmatias commented 1 year ago

Actually, for each class we have, we should have a test unit that evaluates, at least, one input.

martinezmatias commented 1 year ago

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