schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.2k stars 281 forks source link

Support running all tests with pytest, make --no-mmlibs --no-undo the default #333

Closed speleo3 closed 9 months ago

speleo3 commented 9 months ago

Migrated from https://github.com/schrodinger/pymol-testing/pull/10

Supports running all tests with:

cd testing
python -m pytest

Result with latest (Sep 1, 2023) pymol-open-source:

====== 654 passed, 331 skipped, 1 warning in 40.53s ======

Result with incentive pymol 2.5.6:

====== 767 passed, 218 skipped, 1 warning in 43.11s ======

Because mmlibs and undo tests are not supported by PyMOL 2.5, I disabled them by default.

JarrettSJohnson commented 9 months ago

Perfecto. Tyvm