3.6      Automated testing in MPAS and WRF models.

 

Abdi-Oskouei, Maryam, MMM/JCSDA, UCAR, David Gill, Michael Duda, MMM/UCAR, and Yannick Tremolet, JCSDA/UCAR

 

Automated testing is one of the key components in the continuous integration and continuous delivery (CI/CD) pipeline. This presentation contains a summary of recent efforts and challenges in developing an automated testing framework for WRF and MPAS models. The testing framework is designed to make the process of adding the new features in WRF and MPAS models more efficient. By adding a new feature to the code repository, the testing framework will automatically go through the process of building the model and running a hierarchy of tests. These tests will examine different parts of codes such as a successful build of the repository, a correct output from the model by comparing to a known output, and even the coding conventions. Passing all tests ensures the developers that the new feature is compatible with all the code components in the model and can be added to the repository. With the automated testing, any error or incompatibility in the new scripts can be caught at the early stages of the development and help to run the development pipeline more efficiently. Automated testing can help to make the review process shorter and to add the new features to the repository quicker.