django-micro icon indicating copy to clipboard operation
django-micro copied to clipboard

Add tests

Open bittner opened this issue 2 years ago • 2 comments
trafficstars

The project doesn't seem to have tests and test automation.

Would you be interested to have that and packaging automation added via a PR?

bittner avatar Oct 31 '23 17:10 bittner

That’s a neat idea! There isn’t much code, and most of it is just dirty patching and hacks around Python module resolution, which I think might be quite tricky to test.

However, if you see a way it can be tested, that would be great!

maxpoletaev avatar Oct 31 '23 17:10 maxpoletaev

I think the right strategy here might be not to attempt writing the actual unit tests for the code, but rather to try running the example app under different versions of Django via tox and ensure they are compatible.

maxpoletaev avatar Oct 31 '23 18:10 maxpoletaev