I wrote a Python3 package which I am soon going to ship/share via PyPI and Github.
Now I am looking for the optimal solution for the end user to have a small test which can be run to see if after setup.py build
and setup.py install
the package/analysis works on the end users' system. I am NOT talking about a test on the development side.
I would ship some toy data set in order to perform the test since my package is used for data analysis.
My thoughts on this:
setup.py test
would be a nice option but it seems to be deprecated soon- I do not want a solution where the end user has to install an additional package like
pytest
ortox
first
Any recommendations on how to integrate a test into my package considering the two points above?