The cuik-molmaker package has both C++ and Python tests. C++ code is tested using Catch2, and Python code is tested using pytest.
git clone https://github.com/NVIDIA-Digital-Bio/cuik-molmaker
cd cuik-molmakermkdir build && cd build
cmake -DCUIKMOLMAKER_BUILD_TESTS=ON -DCMAKE_PREFIX_PATH="$CONDA_PREFIX" ..make -j4
make install
mkdir lib && cp libcuik_molmaker_core.so lib/# List tests/tags
LD_LIBRARY_PATH=./lib ./catch2_tests --list-tests
LD_LIBRARY_PATH=./lib ./catch2_tests --list-tags
# Run all C++ tests
LD_LIBRARY_PATH=./lib ./catch2_testsEnsure prerequisites are installed using conda. See README.md for more details.
python scripts/check_and_install_cuik_molmaker.pyAlternatively, you can build and install cuik-molmaker from source. See BUILD.md for more details.
pytest tests/python