pFUnit is a Fortran testing framework created by developers from NASA and NGC TASC. pFUnit offers a convenient, lightweight mechanism for Fortran developers to create and run software tests that specify the desired behavior for a given piece of code. See the website or wiki for more information.
- Unit Testing for Fortran
- Support for Serial codes and Parallel codes using MPI and OpenMP
- New! Now Supporting PGI Fortran 15.1!
- Modern Fortran programming techniques, including object orientation
- Easy-to-use preprocessor support for writing tests
- Tested with GNU, Intel, NAG, and PGI Fortran as well as Open MPI and MPICH.
- Builds with GNU Make and CMake.
Very nice and powerful unit test framework. First (and only usable) choice if you need unit tests in modern Fortran. So I'ld suggest to use this for every new Fortran software. Support for MPI and OpenMP is included, but I didn't test this throughouly, yet. My rating is only 4 out of 5 stars because pFUnit doesn't work with all compilers/platforms correctly. This is due to compiler bugs in even the most recent Fortran compilers (concerning Fortran 2003/08 features). Of course the pFUnit developers are not the ones to blame here (they are doing a nice job!), but it is still a major drawback if your software needs to run on different platforms (e.g. a cluster, where you can't install your own compiler).
I started to use this tool a month ago and I am now promoting this tool in my lab. It's a great tool easy to use and powerfull.