samuelburbulla / dune-mmesh

The Dune Grid Module for Moving Interfaces
Other
1 stars 0 forks source link

Tests #4

Closed krober10nd closed 2 years ago

krober10nd commented 2 years ago

Following up on #2, how can an installation of dune-mesh be tested on a new system? And when new functionality is added?

samuelburbulla commented 2 years ago

We provide a test script in dune-mmesh/scripts/test.py that runs through all essential python functionality.

This test.py script is tested in our CI, so any new functionality should go into this script at the moment. Do you think we have to split this into several unit tests already?

samuelburbulla commented 2 years ago

Of course, the C++ backend is tested separately in dune/mmesh/test/.

samuelburbulla commented 2 years ago

I implemented an easier test functionality to test your installation on a new system.

Now, on master, you can run

python -m dune.mmesh test

to run the python tests of dune-mmesh.

I'm looking forward to put this also in the next package on PyPI. This will take some time however as it requires the next update of the DUNE Core modules.