pfunit is a fortran framework for unit testing following the xunit model. capabilities include parallel execution using mpi and openmp. development began at nasa goddard space flight center in 2005. the framework makes extensive use of modern standard features of fortran (2003, 2008), like support for object oriented programming. a python-based preprocessor provides directives reminiscent of other xunit testing frameworks (e.g. @assert), as well as support for parameterized test cases. pfunit can be built using either a gnu make or cmake process.