Closed LeuschkeTressa closed 5 months ago
Would be great to refactor current tests, since they are not well written. LOC code optimisations are always welcome. There are few resources might be usefull:
We also have a unit test module where we can add more tests with mocked responses (as OpenAI tests).
I was considering contributing some refactoring of the integration tests; something like speeding them up (there's some low hanging fruit there), adding some structure, dropping the unittest imports in favour of pytest functionality and incorporating some other testing best practices. I also see a possibility of reducing the test code LOC (without testing less).
Would such a PR be welcome?
If so, any other guidelines/preferences around the tests that could be useful for me to know in advance?
@TheR1D