bwheelz36 / ParticlePhaseSpace

Import, analysis, and export of particle phase space data
https://bwheelz36.github.io/ParticlePhaseSpace/
GNU General Public License v3.0
13 stars 8 forks source link

Automated test #149

Closed benjaminbolling closed 1 year ago

benjaminbolling commented 1 year ago

Please add a python script that automatically invokes the test scripts with multiple datasets producing a more complete report that is readable directly from the terminal.

bwheelz36 commented 1 year ago

Hi @benjaminbolling

If you type pytest into the repository root (assuming it is installed as per #148 !) then it will collect and run all tests, generating the below report. Does this address this issue? If not could you point me to an example of what you mean?

image

benjaminbolling commented 1 year ago

My bad, I did not install the dev_requirements meaning pytest could not initiate (lots of missing packages).

Installed dev_requirements in the conda env for this package, pytest working as intended. Many thanks!