MAIA bb96820c
Multiphysics at AIA
|
Different testing possibilities for m-AIA are described in the following.
The regression test framework is based on the tool canary. Therefore, predefined test cases are performed and checked against existing reference results.
The continuous integration pipeline of GitLab uses canary under the hood for automatic testing.
During every serious development process of m-AIA, canary should be used to ensure the functionality of the code as you make changes and notice dangers as soon as possible. You can find the user guide in the canary repository.
Unit test are based on doctest and located in m-AIA repository under test/
.
Refer to the doctest documentation and the already existing cases, e.g. test/test_lb_latticedescriptor.cpp
, to understand the (quite simple) usage of doctest within m-AIA.