wolph / numpy-stl

Simple library to make working with STL files (and 3D objects in general) fast and easy.
http://numpy-stl.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
605 stars 103 forks source link

How to use `test` modules #201

Closed Why-not-now closed 1 year ago

Why-not-now commented 1 year ago

In https://numpy-stl.readthedocs.io/en/latest/tests.html#, I can see that there are modules to validate your stl files, how do I access it?

wolph commented 1 year ago

If you clone the Github repository you get all the tests. Specifically, they are over here: https://github.com/WoLpH/numpy-stl/tree/develop/tests

To run the tests you can either use tox or you can call py.test directly after installing the library test requirements:

$ pip install -r tests/requirements.txt